Fix sealed segments ids unmatch after load balance in 2.2 (#21322)

Signed-off-by: nico <cheng.yuan@zilliz.com>
pull/21352/head
NicoYuan1986 2022-12-21 09:49:26 +08:00 committed by GitHub
parent 36b12cc9c1
commit a21892ac1a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -1528,6 +1528,7 @@ class TestUtilityAdvanced(TestcaseBase):
collection_w.insert(df)
collection_w.load()
# prepare load balance params
time.sleep(0.5)
res, _ = self.utility_wrap.get_query_segment_info(c_name)
segment_distribution = cf.get_segment_distribution(res)
all_querynodes = [node["identifier"] for node in ms.query_nodes]