Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
Signed-off-by: Weizhen Wang <[email protected]>
  • Loading branch information
hawkingrei committed Aug 28, 2023
1 parent 3b95681 commit 1a60fad
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion statistics/handle/cache/internal/lfu/lfu_cache_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -260,7 +260,7 @@ func TestLFUReject(t *testing.T) {
require.True(t, lfu.Put(2, t2))
lfu.wait()
time.Sleep(3 * time.Second)
require.Equal(t, int64(0), lfu.Cost())
require.Equal(t, int64(12), lfu.Cost())
require.Len(t, lfu.Values(), 2)
v, ok := lfu.Get(2, false)
require.True(t, ok)
Expand Down

0 comments on commit 1a60fad

Please sign in to comment.