[test]Fix log info for deploy test (#23557)

Signed-off-by: zhuwenxing <wenxing.zhu@zilliz.com>
pull/23575/head
zhuwenxing 2023-04-20 16:32:32 +08:00 committed by GitHub
parent 55d76f0cee
commit 0f1d9afe00
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 2 deletions

View File

@ -225,8 +225,7 @@ def load_and_search(prefix, replicas=1):
# show result
for hits in res:
for hit in hits:
# Get value of the random value field for search result
logger.info(str(hits), hit.entity.get("random_value"))
logger.info(f"hit: {hit}")
ids = hits.ids
assert len(ids) == topK, f"get {len(ids)} results, but topK is {topK}"
logger.info(ids)