Skip to content

Commit

Permalink
fixup! expirable LRU: fix so that Get/Peek cannot return an ok and em…
Browse files Browse the repository at this point in the history
…pty value
  • Loading branch information
irenarindos committed Aug 31, 2023
1 parent 382b401 commit fcb4561
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion expirable/expirable_lru_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -400,7 +400,7 @@ func TestLoadingExpired(t *testing.T) {
}
}

time.Sleep(time.Millisecond * 2) // wait for expiration reaper
time.Sleep(time.Millisecond * 100) // wait for expiration reaper
if lc.Len() != 0 {
t.Fatalf("length differs from expected")
}
Expand Down

0 comments on commit fcb4561

Please sign in to comment.