mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-10 09:32:06 +00:00
try fix flaky test_store_cleanup
This commit is contained in:
parent
1ced1d11fd
commit
dfccb677f5
@ -197,7 +197,10 @@ def test_store_cleanup(started_cluster):
|
|||||||
|
|
||||||
node1.exec_in_container(["mkdir", f"{path_to_data}/store/kek"])
|
node1.exec_in_container(["mkdir", f"{path_to_data}/store/kek"])
|
||||||
node1.exec_in_container(["touch", f"{path_to_data}/store/12"])
|
node1.exec_in_container(["touch", f"{path_to_data}/store/12"])
|
||||||
node1.exec_in_container(["mkdir", f"{path_to_data}/store/456"])
|
try:
|
||||||
|
node1.exec_in_container(["mkdir", f"{path_to_data}/store/456"])
|
||||||
|
except Exception as e:
|
||||||
|
print("Failed to create 456/:", str(e))
|
||||||
node1.exec_in_container(["mkdir", f"{path_to_data}/store/456/testgarbage"])
|
node1.exec_in_container(["mkdir", f"{path_to_data}/store/456/testgarbage"])
|
||||||
node1.exec_in_container(
|
node1.exec_in_container(
|
||||||
["mkdir", f"{path_to_data}/store/456/30000000-1000-4000-8000-000000000003"]
|
["mkdir", f"{path_to_data}/store/456/30000000-1000-4000-8000-000000000003"]
|
||||||
@ -218,7 +221,7 @@ def test_store_cleanup(started_cluster):
|
|||||||
timeout=60,
|
timeout=60,
|
||||||
look_behind_lines=1000,
|
look_behind_lines=1000,
|
||||||
)
|
)
|
||||||
node1.wait_for_log_line("directories from store")
|
node1.wait_for_log_line("directories from store", look_behind_lines=1000)
|
||||||
|
|
||||||
store = node1.exec_in_container(["ls", f"{path_to_data}/store"])
|
store = node1.exec_in_container(["ls", f"{path_to_data}/store"])
|
||||||
assert "100" in store
|
assert "100" in store
|
||||||
|
Loading…
Reference in New Issue
Block a user