mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-12-19 04:42:37 +00:00
Merge pull request #73102 from tuanpach/fix-flaky-test-test-replicated-merge-tree-s3-zero-copy-drop-table
Fix flaky test: test_replicated_merge_tree_s3_zero_copy/test.py::test_drop_table
This commit is contained in:
commit
296677b9ef
@ -202,11 +202,12 @@ def test_drop_table(cluster):
|
|||||||
node.query("drop table test_drop_table")
|
node.query("drop table test_drop_table")
|
||||||
|
|
||||||
# It should not be possible to create a replica with the same path until the previous one is completely dropped
|
# It should not be possible to create a replica with the same path until the previous one is completely dropped
|
||||||
for i in range(0, 100):
|
for i in range(0, 50):
|
||||||
node.query_and_get_answer_with_error(
|
node.query_and_get_answer_with_error(
|
||||||
"create table if not exists test_drop_table (n int) "
|
"create table if not exists test_drop_table (n int) "
|
||||||
"engine=ReplicatedMergeTree('/test/drop_table', '1') "
|
"engine=ReplicatedMergeTree('/test/drop_table', '1') "
|
||||||
"order by n partition by n % 99 settings storage_policy='s3'"
|
"order by n partition by n % 99 settings storage_policy='s3'"
|
||||||
|
"settings keeper_max_retries=3, keeper_retry_max_backoff_ms=500"
|
||||||
)
|
)
|
||||||
time.sleep(0.2)
|
time.sleep(0.2)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user