mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-23 08:02:02 +00:00
fix style
This commit is contained in:
parent
347efc669e
commit
8e1b61cc13
@ -17,9 +17,11 @@ node = cluster.add_instance(
|
||||
with_zookeeper=True,
|
||||
)
|
||||
|
||||
|
||||
def random_string(length):
|
||||
return "".join(random.choices(string.ascii_lowercase + string.digits, k=length))
|
||||
|
||||
|
||||
def get_connection_zk(nodename, timeout=30.0):
|
||||
_fake_zk_instance = KazooClient(
|
||||
hosts=cluster.get_instance_ip(nodename) + ":9181", timeout=timeout
|
||||
@ -38,6 +40,7 @@ def started_cluster():
|
||||
finally:
|
||||
cluster.shutdown()
|
||||
|
||||
|
||||
def test_soft_limit_create(started_cluster):
|
||||
keeper_utils.wait_until_connected(started_cluster, node)
|
||||
try:
|
||||
|
Loading…
Reference in New Issue
Block a user