Skip to content

Commit

Permalink
fixup! fixup! fixup! fixup! Pass compression type down from the bloom…
Browse files Browse the repository at this point in the history
… builder

Signed-off-by: Christian Haudum <christian.haudum@gmail.com>
  • Loading branch information
chaudum committed Sep 20, 2024
1 parent b85a85e commit 88091b8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pkg/storage/stores/shipper/bloomshipper/client_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -214,7 +214,7 @@ func putBlock(t *testing.T, c *BloomClient, tenant string, start model.Time, min
day := start.Unix() / step

tmpDir := t.TempDir()
fp, _ := os.CreateTemp(t.TempDir(), "*.tar")
fp, _ := os.CreateTemp(t.TempDir(), "*"+blockExtension+compression.ToFileExtension(enc))

blockWriter := v1.NewDirectoryBlockWriter(tmpDir)
err := blockWriter.Init()
Expand Down Expand Up @@ -298,7 +298,7 @@ func TestBloomClient_PutBlock(t *testing.T) {
start := parseTime("2024-02-05 12:00")

tmpDir := t.TempDir()
fp, _ := os.CreateTemp(t.TempDir(), "*.tar")
fp, _ := os.CreateTemp(t.TempDir(), "*"+blockExtension+compression.ToFileExtension(enc))

blockWriter := v1.NewDirectoryBlockWriter(tmpDir)
err := blockWriter.Init()
Expand Down

0 comments on commit 88091b8

Please sign in to comment.