Commit 42932307 authored by Steven Allen's avatar Steven Allen

test: deflake donthave timeout test

Give it some more time. We're not testing the _exact_ timeout.
parent 7c482eca
......@@ -355,7 +355,7 @@ func TestDontHaveTimeoutMgrUsesDefaultTimeoutIfLatencyLonger(t *testing.T) {
}
// Sleep until after the default timeout
time.Sleep(10 * time.Millisecond)
time.Sleep(defaultTimeout * 2)
// Now the keys should have timed out
if tr.timedOutCount() != len(ks) {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment