mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-26 09:32:01 +00:00
Update test.py
This commit is contained in:
parent
f1733a93e5
commit
19727ff753
@ -59,6 +59,8 @@ def test_inconsistent_parts_if_drop_while_replica_not_active(start_cluster):
|
|||||||
for i in range(20):
|
for i in range(20):
|
||||||
node2.query("INSERT INTO test_table VALUES ('2019-08-16', {})".format(20 + i))
|
node2.query("INSERT INTO test_table VALUES ('2019-08-16', {})".format(20 + i))
|
||||||
|
|
||||||
|
assert_eq_with_retry(node2, "SELECT value FROM system.zookeeper WHERE path='/clickhouse/tables/test1/replicated/replicas/node1' AND name='is_lost'", "1")
|
||||||
|
|
||||||
# the first replica will be cloned from the second
|
# the first replica will be cloned from the second
|
||||||
pm.heal_all()
|
pm.heal_all()
|
||||||
assert_eq_with_retry(node1, "SELECT count(*) FROM test_table", node2.query("SELECT count(*) FROM test_table"))
|
assert_eq_with_retry(node1, "SELECT count(*) FROM test_table", node2.query("SELECT count(*) FROM test_table"))
|
||||||
|
Loading…
Reference in New Issue
Block a user