[skip e2e]skip not supported index type for deploy test (#24549)

Signed-off-by: zhuwenxing <wenxing.zhu@zilliz.com>
pull/24552/head
zhuwenxing 2023-05-31 11:59:29 +08:00 committed by GitHub
parent 432288619c
commit c7ec3b31db
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 1 deletions

View File

@ -32,7 +32,10 @@ def filter_collections_by_prefix(prefix):
res = []
for col in col_list:
if col.startswith(prefix):
res.append(col)
if any(index_name in col for index_name in all_index_types):
res.append(col)
else:
logger.warning(f"collection {col} has no supported index, skip")
logger.info(f"filtered collections with prefix {prefix}: {res}")
return res