From 6847e4baa8ae9d43a71f7b5605c9a0667112e611 Mon Sep 17 00:00:00 2001 From: Paul Rogers Date: Sat, 13 Jan 2024 20:06:49 -0500 Subject: [PATCH] Update to try to iterate all the blocks --- pkg/storage/bloom/v1/reader_test.go | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/pkg/storage/bloom/v1/reader_test.go b/pkg/storage/bloom/v1/reader_test.go index 843560412f01a..bcc216af93750 100644 --- a/pkg/storage/bloom/v1/reader_test.go +++ b/pkg/storage/bloom/v1/reader_test.go @@ -276,9 +276,17 @@ func TestReadingAllLocalFilesAndDoMoreWithSeries(t *testing.T) { fmt.Printf("made merge builder\n") _, _ = mergeBlockBuilder.MergeBuild(mergeBuilder) fmt.Printf("did merge build\n") + for i, itr := range blockIters { + fmt.Printf("Block %d, file %s\n", i, files[i]) -} + for itr.Next() { + { + itr.At() + } + } + } +} func createPopulateFunc() func(series *Series, bloom *Bloom) error { return func(series *Series, bloom *Bloom) error { return nil