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

Signed-off-by: zhuwenxing <wenxing.zhu@zilliz.com>
This commit is contained in:
zhuwenxing 2023-04-20 16:44:35 +08:00 committed by GitHub
parent 210d7c47d9
commit c983b3e104
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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)