Skip to content

Commit 250643e

Browse files
authored
Fix flaky TestFragmenter (#7142)
Signed-off-by: SungJin1212 <tjdwls1201@gmail.com>
1 parent f57a7c9 commit 250643e

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

pkg/distributed_execution/plan_fragments/fragmenter_test.go

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -75,8 +75,7 @@ func TestFragmenter(t *testing.T) {
7575
// 0 1
7676
require.Empty(t, res[0].ChildIDs)
7777
require.Empty(t, res[1].ChildIDs)
78-
require.Equal(t, []uint64{res[0].FragmentID, res[1].FragmentID}, res[2].ChildIDs)
79-
78+
require.ElementsMatch(t, []uint64{res[0].FragmentID, res[1].FragmentID}, res[2].ChildIDs)
8079
} else if len(res) == 5 {
8180
// current binary split:
8281
// 4

0 commit comments

Comments
 (0)