Skip to content

Commit 328ef3e

Browse files
committed
Fix TestMQTTPubSubMatrix, TestMQTTSubjectWildcardStart
Signed-off-by: Neil Twigg <neil@nats.io>
1 parent 662f269 commit 328ef3e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

server/mqtt_test.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2785,7 +2785,7 @@ func TestMQTTPubSubMatrix(t *testing.T) {
27852785
s := testMQTTRunServer(t, o)
27862786
defer testMQTTShutdownServer(s)
27872787

2788-
nc := natsConnect(t, s.ClientURL())
2788+
nc := natsConnect(t, s.ClientURL(), nats.SkipSubjectValidation())
27892789
defer nc.Close()
27902790

27912791
mc, r := testMQTTConnect(t, &mqttConnInfo{cleanSess: true}, o.MQTT.Host, o.MQTT.Port)
@@ -7562,7 +7562,7 @@ func TestMQTTSubjectWildcardStart(t *testing.T) {
75627562
s, o := RunServerWithConfig(conf)
75637563
defer testMQTTShutdownServer(s)
75647564

7565-
nc := natsConnect(t, s.ClientURL())
7565+
nc := natsConnect(t, s.ClientURL(), nats.SkipSubjectValidation())
75667566
defer nc.Close()
75677567

75687568
mc, r := testMQTTConnect(t, &mqttConnInfo{cleanSess: true}, o.MQTT.Host, o.MQTT.Port)

0 commit comments

Comments
 (0)