mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-26 01:22:04 +00:00
Update test.py
This commit is contained in:
parent
d7de8bf797
commit
20300804b1
@ -55,16 +55,7 @@ def test_shutdown_and_wait(start_cluster):
|
||||
node1.query(f"INSERT INTO test_table VALUES ({value})")
|
||||
|
||||
with PartitionManager() as pm:
|
||||
assert node2.query("SELECT * FROM test_table") == "0\n"
|
||||
pm.partition_instances(node1, node2)
|
||||
# iptables rules must be applied immediately, but looks like sometimes they are not...
|
||||
assert_eq_with_retry(
|
||||
node1,
|
||||
"select count() from remote('node1,node2', 'system.one')",
|
||||
"1\n",
|
||||
settings={"skip_unavailable_shards": 1},
|
||||
)
|
||||
|
||||
p.map(insert, range(1, 50))
|
||||
|
||||
# Start shutdown async
|
||||
|
Loading…
Reference in New Issue
Block a user