Skip to content

Commit

Permalink
fix test error
Browse files Browse the repository at this point in the history
  • Loading branch information
zcdb committed Apr 2, 2024
1 parent d699238 commit f378c8a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/test_document_search.py
Expand Up @@ -149,7 +149,7 @@ def test_vearch_document_search_brute_force_search_threshold(index_type):
create_for_document_test(logger, router_url, embedding_size, properties)

add(total_batch, batch_size, xb, with_id, full_field)
logger.info("%s doc_num: %d" % (space_name, get_space_num(logger=logger)))
logger.info("%s doc_num: %d" % (space_name, get_space_num()))

time.sleep(3)

Expand All @@ -174,7 +174,7 @@ def test_vearch_document_search_brute_force_search_threshold(index_type):
assert rs.json()["code"] == 200

add(total_batch, batch_size, xb, with_id, full_field)
logger.info("%s doc_num: %d" % (space_name, get_space_num(logger=logger)))
logger.info("%s doc_num: %d" % (space_name, get_space_num()))

rs = requests.post(url, json_str)
logger.info(rs.json())
Expand Down

0 comments on commit f378c8a

Please sign in to comment.