Skip to content

Commit

Permalink
WIP: Log memory cache size
Browse files Browse the repository at this point in the history
  • Loading branch information
chipshort committed Aug 28, 2023
1 parent 7410295 commit 223ba0f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions internal/api/lib_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -260,6 +260,7 @@ func TestGetMetrics(t *testing.T) {
require.Equal(t, uint32(0), metrics.HitsMemoryCache)
require.Equal(t, uint32(1), metrics.HitsFsCache)
require.Equal(t, uint64(1), metrics.ElementsMemoryCache)
t.Log(t, metrics.SizeMemoryCache)
require.InEpsilon(t, 2282344, metrics.SizeMemoryCache, 0.2)

// Instantiate 2
Expand Down

0 comments on commit 223ba0f

Please sign in to comment.