Skip to content

Commit

Permalink
Fix ci test compaction timeout (milvus-io#17859)
Browse files Browse the repository at this point in the history
Signed-off-by: yangxuan <xuan.yang@zilliz.com>
  • Loading branch information
XuanYang-cn authored Jun 28, 2022
1 parent b657e58 commit 5a85e6a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/python_client/testcases/test_compaction.py
Original file line number Diff line number Diff line change
Expand Up @@ -1044,7 +1044,7 @@ def test_compact_cross_shards(self):

# compact
collection_w.compact()
collection_w.wait_for_compaction_completed(timeout=1)
collection_w.wait_for_compaction_completed()
c_plans = collection_w.get_compaction_plans()[0]

# Actually no merged
Expand Down Expand Up @@ -1074,7 +1074,7 @@ def test_compact_delete_cross_shards(self):
# compact
sleep(ct.compact_retention_duration + 1)
collection_w.compact()
collection_w.wait_for_compaction_completed(timeout=1)
collection_w.wait_for_compaction_completed()
collection_w.get_compaction_plans(check_task=CheckTasks.check_delete_compact,
check_items={"plans_num": shards_num})

Expand Down

0 comments on commit 5a85e6a

Please sign in to comment.