Fix test_keeper_auth

This commit is contained in:
Antonio Andelic 2023-11-18 19:38:33 +00:00
parent 274f2c71f2
commit 7c81d9b2b7

View File

@ -1,6 +1,7 @@
import pytest
import time
from helpers.cluster import ClickHouseCluster
from helpers import keeper_utils
from kazoo.client import KazooClient, KazooState
from kazoo.security import ACL, make_digest_acl, make_acl
from kazoo.exceptions import (
@ -26,6 +27,7 @@ SUPERAUTH = "super:admin"
def started_cluster():
try:
cluster.start()
keeper_utils.wait_until_connected(cluster, node)
yield cluster