diff --git a/server/jetstream_cluster_1_test.go b/server/jetstream_cluster_1_test.go index 7afe0ae090..20566f013d 100644 --- a/server/jetstream_cluster_1_test.go +++ b/server/jetstream_cluster_1_test.go @@ -3720,6 +3720,7 @@ func TestJetStreamClusterAccountPurge(t *testing.T) { resolver: { type: full dir: '%s/jwt' + timeout: "10ms" }`, ojwt, syspub, storeDir) }) defer c.shutdown() @@ -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()