mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-26 01:22:04 +00:00
Fix tests
This commit is contained in:
parent
1ac78e1ffb
commit
824716efef
@ -137,7 +137,7 @@ class KeeperClient(object):
|
|||||||
|
|
||||||
def set(self, path: str, value: str, version: tp.Optional[int] = None) -> None:
|
def set(self, path: str, value: str, version: tp.Optional[int] = None) -> None:
|
||||||
self.execute_query(
|
self.execute_query(
|
||||||
f"set '{path}' '{value}' '{version if version is not None else ''}'"
|
f"set '{path}' '{value}' {version if version is not None else ''}"
|
||||||
)
|
)
|
||||||
|
|
||||||
def rm(self, path: str, version: tp.Optional[int] = None) -> None:
|
def rm(self, path: str, version: tp.Optional[int] = None) -> None:
|
||||||
@ -196,7 +196,7 @@ class KeeperClient(object):
|
|||||||
)
|
)
|
||||||
|
|
||||||
return self.execute_query(
|
return self.execute_query(
|
||||||
f"reconfig '{operation}' '{joining or leaving or new_members}'", timeout
|
f"reconfig {operation} '{joining or leaving or new_members}'", timeout
|
||||||
)
|
)
|
||||||
|
|
||||||
@classmethod
|
@classmethod
|
||||||
|
Loading…
Reference in New Issue
Block a user