Skip to content

Commit

Permalink
[TEST ONLY] skip TestMQTTClusterConnectDisconnect... (#6218)
Browse files Browse the repository at this point in the history
The purpose of this test was to illustrate and verify
#4734. Due to its timing
sensitivity it has never been 100% reliable, prone to flaking on an
occasional MQTT Connect failure (API timeout?). Skip for now, to reduce
the flaky noise.

Signed-off-by: Lev Brouk <lev@synadia.com>
  • Loading branch information
derekcollison authored Dec 4, 2024
2 parents 7a736bb + c952512 commit 2641c63
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions server/mqtt_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -3054,6 +3054,13 @@ func testMQTTConnectDisconnect(t *testing.T, o *Options, clientID string, clean
}

func TestMQTTClusterConnectDisconnectClean(t *testing.T) {
// The purpose of this test was to illustrate and verify
// https://github.com/nats-io/nats-server/pull/4734. Due to its timing
// sensitivity it has never been 100% reliable, prone to flaking on an
// occasional MQTT Connect failure (API timeout?). Skip for now, to reduce
// the flaky noise.
t.Skip()

nServers := 3
cl := createJetStreamClusterWithTemplate(t, testMQTTGetClusterTemplaceNoLeaf(), "MQTT", nServers)
defer cl.shutdown()
Expand All @@ -3069,6 +3076,13 @@ func TestMQTTClusterConnectDisconnectClean(t *testing.T) {
}

func TestMQTTClusterConnectDisconnectPersist(t *testing.T) {
// The purpose of this test was to illustrate and verify
// https://github.com/nats-io/nats-server/pull/4734. Due to its timing
// sensitivity it has never been 100% reliable, prone to flaking on an
// occasional MQTT Connect failure (API timeout?). Skip for now, to reduce
// the flaky noise.
t.Skip()

nServers := 3
cl := createJetStreamClusterWithTemplate(t, testMQTTGetClusterTemplaceNoLeaf(), "MQTT", nServers)
defer cl.shutdown()
Expand Down

0 comments on commit 2641c63

Please sign in to comment.