[skip e2e]Add logger for deploy test (#24322)

Signed-off-by: zhuwenxing <wenxing.zhu@zilliz.com>
pull/24342/head
zhuwenxing 2023-05-23 13:27:25 +08:00 committed by GitHub
parent f73f4d5ff1
commit 411374abde
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 0 deletions

View File

@ -28,10 +28,12 @@ NUM_REPLICAS = 2
def filter_collections_by_prefix(prefix):
col_list = list_collections()
logger.info(f"all collections: {col_list}")
res = []
for col in col_list:
if col.startswith(prefix):
res.append(col)
logger.info(f"filtered collections with prefix {prefix}: {res}")
return res