Skip to content

Commit

Permalink
Tweaked timings for race detector
Browse files Browse the repository at this point in the history
  • Loading branch information
destel committed Mar 26, 2024
1 parent 1f3c2a0 commit da96e0e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/core/loops_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ func TestBreakable(t *testing.T) {
for x := range in1 {
if x == 100 {
earlyExit()
time.Sleep(2 * time.Second) // give Break some time to react and drain
time.Sleep(5 * time.Second) // give Break some time to react and drain
}

if x > maxSeen {
Expand Down

0 comments on commit da96e0e

Please sign in to comment.