From d26c8114a54d1cf4634432346c16dab9a58629d5 Mon Sep 17 00:00:00 2001 From: binbin <83755740+binbinlv@users.noreply.github.com> Date: Wed, 27 Oct 2021 17:51:47 +0800 Subject: [PATCH] [skip ci] Improve test comments (#10742) Signed-off-by: Binbin Lv --- tests/python_client/testcases/test_search_20.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/tests/python_client/testcases/test_search_20.py b/tests/python_client/testcases/test_search_20.py index a736cdf05..105ae33a7 100644 --- a/tests/python_client/testcases/test_search_20.py +++ b/tests/python_client/testcases/test_search_20.py @@ -1079,9 +1079,9 @@ class TestCollectionSearch(TestcaseBase): def test_search_load_flush_load(self, nb, nq, dim, auto_id, _async): """ target: test search when load before flush - method: 1. search the collection - 2. insert data and load - 3. flush, and load + method: 1. insert data and load + 2. flush, and load + 3. search the collection expected: search success with limit(topK) """ # 1. initialize with data @@ -1093,7 +1093,7 @@ class TestCollectionSearch(TestcaseBase): # 4. flush and load collection_w.num_entities collection_w.load() - # 5. search for new data without load + # 5. search vectors = [[random.random() for _ in range(dim)] for _ in range(nq)] collection_w.search(vectors[:nq], default_search_field, default_search_params, default_limit, -- GitLab