mirror of https://github.com/milvus-io/milvus.git
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
parent
93ce4b1c97
commit
1f6fd54146
|
@ -450,7 +450,7 @@ func (s *CompactionPlanHandlerSuite) TestPickAnyNode() {
|
|||
|
||||
assigner := newSlotBasedNodeAssigner(s.cluster)
|
||||
assigner.slots = map[int64]int64{
|
||||
100: 8,
|
||||
100: 9,
|
||||
101: 16,
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue