Fix test flapper

Signed-off-by: Derek Collison <derek@nats.io>
This commit is contained in:
Derek Collison
2023-05-16 12:20:18 -07:00
parent 87f17fcff4
commit 734895ae47

View File

@@ -3961,7 +3961,7 @@ func TestJetStreamClusterStreamAccountingDriftFixups(t *testing.T) {
err = js.PurgeStream("TEST")
require_NoError(t, err)
checkFor(t, time.Second, 200*time.Millisecond, func() error {
checkFor(t, 5*time.Second, 200*time.Millisecond, func() error {
info, err := js.AccountInfo()
require_NoError(t, err)
if info.Store != 0 {