Skip to content

Commit

Permalink
Fix lint issue in test
Browse files Browse the repository at this point in the history
  • Loading branch information
salvacorts committed May 23, 2024
1 parent 0609881 commit 7549f73
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions pkg/bloombuild/planner/planner_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -395,12 +395,10 @@ func Test_BuilderLoop(t *testing.T) {
}()

// Enqueue tasks
tsdbId, ok := tsdb.ParseSingleTenantTSDBPath("1-compactor-1-10-ff.tsdb")
require.True(t, ok)
for i := 0; i < nTasks; i++ {
task := NewTask(
context.Background(), time.Now(),
protos.NewTask("fakeTable", "fakeTenant", v1.NewBounds(0, 10), tsdbId, nil),
protos.NewTask("fakeTable", "fakeTenant", v1.NewBounds(0, 10), tsdbID(1), nil),
)

err = planner.enqueueTask(task)
Expand Down

0 comments on commit 7549f73

Please sign in to comment.