mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-27 18:12:02 +00:00
fix
This commit is contained in:
parent
4ea3178efc
commit
d7482373d3
@ -101,9 +101,9 @@ def test_drop_replica(start_cluster):
|
||||
assert "does not look like a table path" in \
|
||||
node_1_3.query_and_get_error("SYSTEM DROP REPLICA 'node_1_1' FROM ZKPATH '/clickhouse/tables/test'")
|
||||
|
||||
with PartitionManager() as pm:
|
||||
## make node_1_1 dead
|
||||
pm.drop_instance_zk_connections(node_1_1)
|
||||
node_1_1.query("DETACH DATABASE test")
|
||||
for i in range(1, 5):
|
||||
node_1_1.query("DETACH DATABASE test{}".format(i))
|
||||
|
||||
assert "doesn't exist" in node_1_3.query_and_get_error(
|
||||
"SYSTEM DROP REPLICA 'node_1_1' FROM TABLE test.test_table")
|
||||
|
Loading…
Reference in New Issue
Block a user