mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-29 11:02:08 +00:00
Wait for ZK process to stop
This commit is contained in:
parent
e0b8fd528d
commit
4ccd828a44
@ -29,6 +29,8 @@ def start_zookeeper(node):
|
||||
|
||||
def stop_zookeeper(node):
|
||||
node.exec_in_container(["bash", "-c", "/opt/zookeeper/bin/zkServer.sh stop"])
|
||||
while node.get_process_pid("zookeeper") != None:
|
||||
time.sleep(0.2)
|
||||
|
||||
|
||||
def clear_zookeeper(node):
|
||||
|
@ -24,6 +24,8 @@ def start_zookeeper():
|
||||
|
||||
def stop_zookeeper():
|
||||
node.exec_in_container(["bash", "-c", "/opt/zookeeper/bin/zkServer.sh stop"])
|
||||
while node.get_process_pid("zookeeper") != None:
|
||||
time.sleep(0.2)
|
||||
|
||||
|
||||
def clear_zookeeper():
|
||||
|
Loading…
Reference in New Issue
Block a user