fix: [cherry-pick] fix unstable ut of compaction pickSlot (#34829)

bug: #34827
pr: #34828

Signed-off-by: wayblink <anyang.wang@zilliz.com>
pull/34837/head
wayblink 2024-07-19 17:53:48 +08:00 committed by GitHub
parent ff4bd2c9d2
commit 8632582520
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -349,7 +349,7 @@ func (s *CompactionPlanHandlerSuite) TestPickAnyNode() {
s.SetupTest()
nodeSlots := map[int64]int64{
100: 16,
101: 24,
101: 23,
}
node, useSlot := s.handler.pickAnyNode(nodeSlots, &mixCompactionTask{
CompactionTask: &datapb.CompactionTask{