mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-28 18:42:26 +00:00
Add unpause container after test
This commit is contained in:
parent
2de6b99f84
commit
fdab1021f6
@ -256,6 +256,7 @@ def test_mysql_distributed(started_cluster):
|
|||||||
# disconnect mysql1
|
# disconnect mysql1
|
||||||
started_cluster.pause_container('mysql1')
|
started_cluster.pause_container('mysql1')
|
||||||
result = node2.query("SELECT DISTINCT(name) FROM test_shards ORDER BY name")
|
result = node2.query("SELECT DISTINCT(name) FROM test_shards ORDER BY name")
|
||||||
|
started_cluster.unpause_container('mysql1')
|
||||||
assert(result == 'host2\nhost4\n' or result == 'host3\nhost4\n')
|
assert(result == 'host2\nhost4\n' or result == 'host3\nhost4\n')
|
||||||
|
|
||||||
|
|
||||||
|
@ -289,6 +289,7 @@ def test_postgres_distributed(started_cluster):
|
|||||||
# Disconnect postgres1
|
# Disconnect postgres1
|
||||||
started_cluster.pause_container('postgres1')
|
started_cluster.pause_container('postgres1')
|
||||||
result = node2.query("SELECT DISTINCT(name) FROM test_shards ORDER BY name")
|
result = node2.query("SELECT DISTINCT(name) FROM test_shards ORDER BY name")
|
||||||
|
started_cluster.unpause_container('postgres1')
|
||||||
assert(result == 'host2\nhost4\n' or result == 'host3\nhost4\n')
|
assert(result == 'host2\nhost4\n' or result == 'host3\nhost4\n')
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user