Skip to content

Commit 31effc5

Browse files
Merge pull request ClickHouse#80227 from ClickHouse/flaky_test_remove_stale_moving_parts_without_zookeeper
test_remove_stale_moving_parts ignore non-existent directory during wait, wait longer
2 parents c1a12ad + 8e5966d commit 31effc5

File tree

1 file changed

+3
-2
lines changed
  • tests/integration/test_remove_stale_moving_parts

1 file changed

+3
-2
lines changed

tests/integration/test_remove_stale_moving_parts/test.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,12 +51,13 @@ def exec(node, cmd, path):
5151
"bash",
5252
"-c",
5353
f"{cmd} {path}",
54-
]
54+
],
55+
nothrow=True,
5556
)
5657

5758

5859
def wait_part_is_stuck(node, table_moving_path, moving_part):
59-
num_tries = 5
60+
num_tries = 10
6061
while q(node, "SELECT part_name FROM system.moves").strip() != moving_part:
6162
if num_tries == 0:
6263
raise Exception("Part has not started to move")

0 commit comments

Comments
 (0)