diff --git a/tests/python_client/testcases/test_search_20.py b/tests/python_client/testcases/test_search_20.py index a736cdf05302c28b0cd64294e182a2760bca8ed7..105ae33a73b498ad91d7fa9bea5355a11c44022f 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,