mirror of
https://gitee.com/milvus-io/milvus.git
synced 2025-12-08 10:08:42 +08:00
fix: [skip e2e] Make channel balance test accept flushing segments (#32229)
See also #30973 Make the case stable since the segment state may be flushing when suite tries to check segment state. Signed-off-by: Congqi Xia <congqi.xia@zilliz.com>
This commit is contained in:
parent
4822b109bd
commit
b87f41128b
@ -113,7 +113,7 @@ func (s *ChannelBalanceSuite) flushCollections(collections []string) {
|
||||
return info.GetCollectionID() == collID
|
||||
})
|
||||
lo.ForEach(collSegs, func(info *datapb.SegmentInfo, _ int) {
|
||||
s.Require().Equal(commonpb.SegmentState_Flushed, info.GetState())
|
||||
s.Require().Contains([]commonpb.SegmentState{commonpb.SegmentState_Flushed, commonpb.SegmentState_Flushing}, info.GetState())
|
||||
})
|
||||
}
|
||||
log.Info("=========================Data flush done=========================")
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user