From dfa2dac8fbd736c439d5bff4f76d5a36c1185757 Mon Sep 17 00:00:00 2001 From: zhuwenxing Date: Fri, 3 Feb 2023 09:33:51 +0800 Subject: [PATCH] [test]Update timeout for compact (#21930) Signed-off-by: zhuwenxing --- .../chaos/testcases/test_all_collections_after_chaos.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tests/python_client/chaos/testcases/test_all_collections_after_chaos.py b/tests/python_client/chaos/testcases/test_all_collections_after_chaos.py index 137c5cd63..236ad95fa 100644 --- a/tests/python_client/chaos/testcases/test_all_collections_after_chaos.py +++ b/tests/python_client/chaos/testcases/test_all_collections_after_chaos.py @@ -32,8 +32,9 @@ class TestAllCollection(TestcaseBase): tt = time.time() - t0 assert collection_w.name == name # compact collection before getting num_entities + collection_w.flush(timeout=180) collection_w.compact() - collection_w.wait_for_compaction_completed() + collection_w.wait_for_compaction_completed(timeout=720) entities = collection_w.num_entities log.info(f"assert create collection: {tt}, init_entities: {entities}") -- GitLab