We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 754fd31 commit d994648Copy full SHA for d994648
1 file changed
test/cache_test.go
@@ -110,7 +110,7 @@ func TestCache_Expiration(t *testing.T) {
110
_, ok := cache.Get(key)
111
assert.True(t, ok, "Should exist before expiration")
112
113
- time.Sleep(1000 * time.Millisecond)
+ time.Sleep(1500 * time.Millisecond)
114
115
_, ok = cache.Get(key)
116
assert.False(t, ok, "Should not exist after TTL")
0 commit comments