mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-25 17:12:03 +00:00
Fix flaky test_keeper_snapshots
This commit is contained in:
parent
e428ed5543
commit
f7586e38ed
@ -57,9 +57,10 @@ def restart_clickhouse():
|
||||
|
||||
|
||||
def test_state_after_restart(started_cluster):
|
||||
keeper_utils.wait_until_connected(started_cluster, node)
|
||||
node_zk = None
|
||||
node_zk2 = None
|
||||
try:
|
||||
node_zk = None
|
||||
node_zk2 = None
|
||||
node_zk = get_connection_zk("node")
|
||||
|
||||
node_zk.create("/test_state_after_restart", b"somevalue")
|
||||
@ -108,9 +109,10 @@ def test_state_after_restart(started_cluster):
|
||||
|
||||
|
||||
def test_ephemeral_after_restart(started_cluster):
|
||||
keeper_utils.wait_until_connected(started_cluster, node)
|
||||
node_zk = None
|
||||
node_zk2 = None
|
||||
try:
|
||||
node_zk = None
|
||||
node_zk2 = None
|
||||
node_zk = get_connection_zk("node")
|
||||
|
||||
session_id = node_zk._session_id
|
||||
|
Loading…
Reference in New Issue
Block a user