Skip to content
This repository has been archived by the owner on Feb 1, 2023. It is now read-only.

Commit

Permalink
Merge pull request #293 from ipfs/fix/flaky-test-TestDontHaveTimeoutM…
Browse files Browse the repository at this point in the history
…grTimeout

fix flaky TestDontHaveTimeoutMgrTimeout
  • Loading branch information
Stebalien authored Mar 11, 2020
2 parents de62939 + 5a742ad commit df360b3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/messagequeue/donthavetimeoutmgr_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ func TestDontHaveTimeoutMgrTimeout(t *testing.T) {
tr.clear()

// Sleep until the second set of keys should have timed out
time.Sleep(expectedTimeout)
time.Sleep(expectedTimeout + 10*time.Millisecond)

// At this stage all keys should have timed out. The second set included
// the first set of keys, but they were added before the first set timed
Expand Down

0 comments on commit df360b3

Please sign in to comment.