From 6ddcc7d9dd197b303d0b3d7b066c2b6828f9ded4 Mon Sep 17 00:00:00 2001 From: zhuwenxing Date: Mon, 27 Dec 2021 22:18:20 +0800 Subject: [PATCH] [skip e2e]Add timeout for query in deploy test (#14371) Signed-off-by: zhuwenxing --- tests/python_client/deploy/scripts/utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/python_client/deploy/scripts/utils.py b/tests/python_client/deploy/scripts/utils.py index 59715bf0c..c9f127d03 100644 --- a/tests/python_client/deploy/scripts/utils.py +++ b/tests/python_client/deploy/scripts/utils.py @@ -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) -- GitLab