Skip to content

Commit

Permalink
Longer timeout
Browse files Browse the repository at this point in the history
Signed-off-by: Derek Collison <derek@nats.io>
  • Loading branch information
derekcollison committed Feb 1, 2022
1 parent 6bbe75e commit b8e38c4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion server/norace_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -3459,7 +3459,7 @@ func TestNoRaceJetStreamClusterCorruptWAL(t *testing.T) {
}

// This will cause us to stepdown and truncate our WAL.
fetchMsgs(t, sub, 100, 5*time.Second)
fetchMsgs(t, sub, 100, 20*time.Second)

checkFor(t, 20*time.Second, 500*time.Millisecond, func() error {
// Make sure we changed leaders.
Expand Down

0 comments on commit b8e38c4

Please sign in to comment.