Wait longer

Signed-off-by: Derek Collison <derek@nats.io>
This commit is contained in:
Derek Collison
2021-03-20 10:53:12 -07:00
parent 4c6fd179d6
commit 14a896fee8

View File

@@ -4973,7 +4973,7 @@ func TestJetStreamSuperClusterDirectConsumersBrokenGateways(t *testing.T) {
t.Fatalf("Expected to have %d messages, got %d", 200, si.State.Msgs)
}
checkFor(t, 5*time.Second, 250*time.Millisecond, func() error {
checkFor(t, 20*time.Second, 250*time.Millisecond, func() error {
si, err := js.StreamInfo("S")
if err != nil {
t.Fatalf("Unexpected error: %v", err)