[skip ci] Improve test log (#11367)

Signed-off-by: Binbin Lv <binbin.lv@zilliz.com>
pull/11373/head
binbin 2021-11-06 16:23:46 +08:00 committed by GitHub
parent 94744fdc06
commit 50d4ef51a6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -730,7 +730,7 @@ class TestCollectionSearchInvalid(TestcaseBase):
# 1. initialize with data
collection_w = self.init_collection_general(prefix, True, nb=10)[0]
# 2. search
log.info("test_search_output_field_vector: Searching collection %s" % collection_w.name)
log.info("test_search_invalid_round_decimal: Searching collection %s" % collection_w.name)
collection_w.search(vectors[:default_nq], default_search_field,
default_search_params, default_limit,
default_search_exp, round_decimal=round_decimal,
@ -915,7 +915,7 @@ class TestCollectionSearch(TestcaseBase):
collection_w, _, _, insert_ids = \
self.init_collection_general(prefix, True, auto_id=auto_id, dim=dim)[0:4]
# 2. search
log.info("test_search_normal: searching collection %s" % collection_w.name)
log.info("test_search_normal_default_params: searching collection %s" % collection_w.name)
vectors = [[random.random() for _ in range(dim)] for _ in range(default_nq)]
collection_w.search(vectors[:default_nq], default_search_field,
search_params, default_limit,