mirror of https://github.com/milvus-io/milvus.git
[skip e2e]Add logger for deploy test (#24322)
Signed-off-by: zhuwenxing <wenxing.zhu@zilliz.com>pull/24342/head
parent
f73f4d5ff1
commit
411374abde
|
@ -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
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue