Skip to content

Commit d994648

Browse files
committed
refactor: cache_test.go
1 parent 754fd31 commit d994648

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

test/cache_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ func TestCache_Expiration(t *testing.T) {
110110
_, ok := cache.Get(key)
111111
assert.True(t, ok, "Should exist before expiration")
112112

113-
time.Sleep(1000 * time.Millisecond)
113+
time.Sleep(1500 * time.Millisecond)
114114

115115
_, ok = cache.Get(key)
116116
assert.False(t, ok, "Should not exist after TTL")

0 commit comments

Comments
 (0)