[skip ci]Update query in test_e2e (#7720)

Signed-off-by: yanliang567 <yanliang.qiao@zilliz.com>
pull/7736/head
yanliang567 2021-09-10 17:40:18 +08:00 committed by GitHub
parent a20275eb05
commit 364acf868f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -77,9 +77,9 @@ class TestE2e(TestcaseBase):
log.debug(f"assert search: {tt}") log.debug(f"assert search: {tt}")
# query # query
term_expr = f'{ct.default_int64_field_name} in [3001,4001,4999,2999]' term_expr = f'{ct.default_int64_field_name} in [1001,1201,4999,2999]'
t0 = time.time() t0 = time.time()
res, _ = collection_w.query(term_expr) res, _ = collection_w.query(term_expr)
tt = time.time() - t0 tt = time.time() - t0
log.debug(f"assert query: {tt}") log.debug(f"assert query result {len(res)}: {tt}")
# assert len(res) == 4 # assert len(res) == 4