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 137c5cd63ef80363686234fbbeca67d1d3c21cb1..236ad95fa6a4ebac9cdad2a570ca2ae0872146eb 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}")