mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-26 17:41:59 +00:00
tests: add debug info into test_ttl_move::test_alter_with_merge_work
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
This commit is contained in:
parent
f0aaac3bd1
commit
47dbc5e05b
@ -1635,9 +1635,17 @@ def test_alter_with_merge_work(started_cluster, name, engine, positive):
|
||||
optimize_table(20)
|
||||
|
||||
if positive:
|
||||
assert check_used_disks_with_retry(node1, name, set(["external"]))
|
||||
assert check_used_disks_with_retry(
|
||||
node1, name, set(["external"])
|
||||
), "Parts: " + node1.query(
|
||||
f"SELECT disk_name, name FROM system.parts WHERE table = '{name}' AND active = 1"
|
||||
)
|
||||
else:
|
||||
assert check_used_disks_with_retry(node1, name, set(["jbod1", "jbod2"]))
|
||||
assert check_used_disks_with_retry(
|
||||
node1, name, set(["jbod1", "jbod2"])
|
||||
), "Parts: " + node1.query(
|
||||
f"SELECT disk_name, name FROM system.parts WHERE table = '{name}' AND active = 1"
|
||||
)
|
||||
|
||||
time.sleep(5)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user