Skip to content

Commit

Permalink
fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
poyzannur committed Jan 5, 2024
1 parent 44ba07c commit fa0eb1c
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion pkg/bloomcompactor/chunkcompactor_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -127,6 +127,8 @@ func TestChunkCompactor_CompactNewChunks(t *testing.T) {
}

func TestLazyBloomBuilder(t *testing.T) {
logger := log.NewNopLogger()

label := labels.FromStrings("foo", "bar")
fp1 := model.Fingerprint(100)
fp2 := model.Fingerprint(999)
Expand Down Expand Up @@ -167,7 +169,7 @@ func TestLazyBloomBuilder(t *testing.T) {
mbt := &mockBloomTokenizer{}
mcc := &mockChunkClient{}

it := newLazyBloomBuilder(context.Background(), job, mcc, mbt, fpRate)
it := newLazyBloomBuilder(context.Background(), job, mcc, mbt, fpRate, logger)

// first seriesMeta has 1 chunks
require.True(t, it.Next())
Expand Down

0 comments on commit fa0eb1c

Please sign in to comment.