mirror of
https://github.com/gogrlx/nats-server.git
synced 2026-04-17 11:24:44 -07:00
Fix new MQTT test flapper
Signed-off-by: Ivan Kozlovic <ivan@synadia.com>
This commit is contained in:
@@ -5747,7 +5747,7 @@ func TestMQTTConsumerReplicasOverride(t *testing.T) {
|
||||
t.Helper()
|
||||
|
||||
o := cl.opts[0]
|
||||
mc, r := testMQTTConnect(t, &mqttConnInfo{clientID: "test", cleanSess: false}, o.MQTT.Host, o.MQTT.Port)
|
||||
mc, r := testMQTTConnectRetry(t, &mqttConnInfo{clientID: "test", cleanSess: false}, o.MQTT.Host, o.MQTT.Port, 5)
|
||||
defer mc.Close()
|
||||
testMQTTCheckConnAck(t, r, mqttConnAckRCConnectionAccepted, restarted)
|
||||
testMQTTSub(t, 1, mc, r, []*mqttFilter{{filter: "foo", qos: 1}}, []byte{1})
|
||||
|
||||
Reference in New Issue
Block a user