diff --git a/pkg/bloombuild/planner/planner_test.go b/pkg/bloombuild/planner/planner_test.go index 88e45c725917..26a3b880c1d6 100644 --- a/pkg/bloombuild/planner/planner_test.go +++ b/pkg/bloombuild/planner/planner_test.go @@ -163,7 +163,7 @@ func Test_gapsBetweenTSDBsAndMetas(t *testing.T) { require.Error(t, err) return } - require.Equal(t, tc.exp, gaps) + require.ElementsMatch(t, tc.exp, gaps) }) } }