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 <congqi.xia@zilliz.com>
pull/39338/head
congqixia 2025-01-16 14:25:02 +08:00 committed by GitHub
parent 93ce4b1c97
commit 1f6fd54146
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -450,7 +450,7 @@ func (s *CompactionPlanHandlerSuite) TestPickAnyNode() {
assigner := newSlotBasedNodeAssigner(s.cluster)
assigner.slots = map[int64]int64{
100: 8,
100: 9,
101: 16,
}