Skip to content

Commit

Permalink
Fix for flapping test
Browse files Browse the repository at this point in the history
Signed-off-by: Derek Collison <derek@nats.io>
  • Loading branch information
derekcollison committed Mar 29, 2023
1 parent 35d1a77 commit a9a4df8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion server/jetstream_cluster_1_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -3720,6 +3720,7 @@ func TestJetStreamClusterAccountPurge(t *testing.T) {
resolver: {
type: full
dir: '%s/jwt'
timeout: "10ms"
}`, ojwt, syspub, storeDir)
})
defer c.shutdown()
Expand Down Expand Up @@ -3892,7 +3893,6 @@ func TestJetStreamClusterAccountPurge(t *testing.T) {
}
c.restartAll()
checkForDirs(t, 6, 4)
c.waitOnClusterReady() // unfortunately, this does not wait until leader is not catching up.
purge(t)
checkForDirs(t, 0, 0)
c.stopAll()
Expand Down

0 comments on commit a9a4df8

Please sign in to comment.