Reformat the test

This commit is contained in:
Tuan Pham Anh 2024-09-27 02:06:27 +00:00
parent 0e9847d1ce
commit d43cb48f4a

View File

@ -59,10 +59,10 @@ def test_ddl_worker_replicas(started_cluster):
# wait for node4 active path is removed
node1.query_with_retry(
sql = f"SELECT count() FROM system.zookeeper WHERE path='/clickhouse/task_queue/replicas/node4:9000'",
check_callback= lambda result: result == 0,
sql=f"SELECT count() FROM system.zookeeper WHERE path='/clickhouse/task_queue/replicas/node4:9000'",
check_callback=lambda result: result == 0,
)
result = node1.query_with_retry(
f"SELECT name, value, ephemeralOwner FROM system.zookeeper WHERE path='/clickhouse/task_queue/replicas/node4:9000'"
).strip()