Change flush way (#6972)

Signed-off-by: zhuwenxing <wenxing.zhu@zilliz.com>
pull/6958/head^2
zhuwenxing 2021-08-03 17:09:25 +08:00 committed by GitHub
parent 80528f53e2
commit 5260160679
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -963,7 +963,7 @@ class TestCollectionSearch(TestcaseBase):
# 3. load data
collection_w.load()
# 4. flush and load
collection_w.partitions
collection_w.num_entities
collection_w.load()
# 5. search for new data without load
vectors = [[random.random() for _ in range(dim)] for _ in range(nq)]