mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-10 09:32:06 +00:00
fix CheckSytel
This commit is contained in:
parent
6e927325e4
commit
369ebf3c4f
@ -143,12 +143,12 @@ class KeeperClient(object):
|
||||
def find_super_nodes(self, threshold: int, timeout: float = 60.0) -> str:
|
||||
return self.execute_query(f"find_super_nodes {threshold}", timeout)
|
||||
|
||||
def delete_stale_backups(self, timeout: float = 60.0) -> str:
|
||||
return self.execute_query("delete_stale_backups", timeout)
|
||||
|
||||
def get_all_children_number(self, path: str, timeout: float = 60.0) -> str:
|
||||
return self.execute_query(f"get_all_children_number {path}", timeout)
|
||||
|
||||
def delete_stale_backups(self, timeout: float = 60.0) -> str:
|
||||
return self.execute_query("delete_stale_backups", timeout)
|
||||
|
||||
def reconfig(
|
||||
self,
|
||||
joining: tp.Optional[str],
|
||||
|
@ -232,10 +232,4 @@ def test_get_all_children_number(client: KeeperClient):
|
||||
client.touch("/test_get_all_children_number/2/3")
|
||||
client.touch("/test_get_all_children_number/2/4")
|
||||
|
||||
response = client.get_all_children_number("/test_get_all_children_number")
|
||||
|
||||
assert response == TSV(
|
||||
[
|
||||
["11"]
|
||||
]
|
||||
)
|
||||
assert client.get_all_children_number("/test_get_all_children_number") == ["11"]
|
||||
|
Loading…
Reference in New Issue
Block a user