fix: fix unstable ut of compaction pickSlot (#34828)

#34827

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

View File

@ -346,7 +346,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{