From 1f6fd54146a575bfa3a8e30d838a62276ddb28fe Mon Sep 17 00:00:00 2001 From: congqixia Date: Thu, 16 Jan 2025 14:25:02 +0800 Subject: [PATCH] fix: [skip e2e] Make test case assigner result deterministic (#39317) Related to #39296 The case initialized with {100:8 ,101: 16}. After first assignment, the slots become {100:8, 101:8} and the following result is not stable. Signed-off-by: Congqi Xia --- internal/datacoord/compaction_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/datacoord/compaction_test.go b/internal/datacoord/compaction_test.go index 81ceb73a1e..31bf39a484 100644 --- a/internal/datacoord/compaction_test.go +++ b/internal/datacoord/compaction_test.go @@ -450,7 +450,7 @@ func (s *CompactionPlanHandlerSuite) TestPickAnyNode() { assigner := newSlotBasedNodeAssigner(s.cluster) assigner.slots = map[int64]int64{ - 100: 8, + 100: 9, 101: 16, }