mirror of
https://gitee.com/milvus-io/milvus.git
synced 2026-01-07 19:31:51 +08:00
[skip e2e]Add timeout for query in deploy test (#14371)
Signed-off-by: zhuwenxing <wenxing.zhu@zilliz.com>
This commit is contained in:
parent
0fcd66e0b6
commit
6ddcc7d9dd
@ -160,7 +160,7 @@ def load_and_search(prefix):
|
||||
t0 = time.time()
|
||||
expr = "count in [2,4,6,8]"
|
||||
output_fields = ["count", "random_value"]
|
||||
res = c.query(expr, output_fields)
|
||||
res = c.query(expr, output_fields, timeout=20)
|
||||
sorted_res = sorted(res, key=lambda k: k['count'])
|
||||
for r in sorted_res:
|
||||
print(r)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user