Skip to content

Commit

Permalink
Merge pull request ipfs/go-bitswap#293 from ipfs/fix/flaky-test-TestD…
Browse files Browse the repository at this point in the history
…ontHaveTimeoutMgrTimeout

fix flaky TestDontHaveTimeoutMgrTimeout

This commit was moved from ipfs/go-bitswap@df360b3
  • Loading branch information
Stebalien authored Mar 11, 2020
2 parents 6076f1e + c797006 commit 0ced6db
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bitswap/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 0ced6db

Please sign in to comment.