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

fix flaky TestDontHaveTimeoutMgrTimeout #293

Merged
merged 1 commit into from
Mar 11, 2020
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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