We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8d433cc commit 99d7b17Copy full SHA for 99d7b17
expirable/expirable_lru_test.go
@@ -387,7 +387,7 @@ func TestLoadingExpired(t *testing.T) {
387
t.Fatalf("should be true")
388
}
389
390
- time.Sleep(time.Millisecond * 10) // wait for entry to expire
+ time.Sleep(time.Millisecond * 100) // wait for entry to expire
391
if lc.Len() != 0 {
392
t.Fatalf("length differs from expected")
393
@@ -491,7 +491,7 @@ func ExampleLRU() {
491
492
493
// wait for cache to expire
494
- time.Sleep(time.Millisecond * 12)
+ time.Sleep(time.Millisecond * 100)
495
496
// get value under key1 after key expiration
497
r, ok = cache.Get("key1")
0 commit comments