[test]skip index for empty collection (#25056)

Signed-off-by: zhuwenxing <wenxing.zhu@zilliz.com>
pull/25063/head
zhuwenxing 2023-06-21 14:14:42 +08:00 committed by GitHub
parent 7f5de9aab3
commit c882c75be2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -57,7 +57,7 @@ class TestActionFirstDeployment(TestDeployBase):
is_binary = True
collection_w = \
self.init_collection_general(insert_data=False, is_binary=is_binary, name=name, enable_dynamic_field=False,
with_json=False)[0]
with_json=False, is_index=False)[0]
if collection_w.has_index():
index_names = [index.index_name for index in collection_w.indexes]
for index_name in index_names: