Skip to content

Commit

Permalink
fix test
Browse files Browse the repository at this point in the history
Signed-off-by: Ben Ye <[email protected]>
  • Loading branch information
yeya24 committed Sep 27, 2024
1 parent 17c58bd commit f4ae8bd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tsdb/db_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -8790,7 +8790,7 @@ func TestBlockQuerierAndBlockChunkQuerier(t *testing.T) {
// Include blockID into series to identify which block got touched.
serieses := []storage.Series{storage.NewListSeries(labels.FromMap(map[string]string{"block": fmt.Sprintf("block-%d", i), labels.MetricName: "test_metric"}), []chunks.Sample{sample{t: 0, f: 1}})}
blockDir := createBlock(t, db.Dir(), serieses)
b, err := OpenBlock(db.logger, blockDir, db.chunkPool)
b, err := OpenBlock(db.logger, blockDir, db.chunkPool, nil)
require.NoError(t, err)

// Overwrite meta.json with compaction section for testing purpose.
Expand Down

0 comments on commit f4ae8bd

Please sign in to comment.