Found via `codespell -H` and `typos --hidden --format brief`
This commit is contained in:
Kian-Meng Ang
2024-11-12 10:06:53 +01:00
committed by GitHub
parent efba02f52e
commit 4ce0f99cfb
35 changed files with 94 additions and 94 deletions
+2 -2
View File
@@ -1123,12 +1123,12 @@ def before_feature(context, feature):
elif feature.name == 'citus':
lib = subprocess.check_output(['pg_config', '--pkglibdir']).decode('utf-8').strip()
if not os.path.exists(os.path.join(lib, 'citus.so')):
return feature.skip("Citus extenstion isn't available")
return feature.skip("Citus extension isn't available")
context.pctl.create_and_set_output_directory(feature.name)
def after_feature(context, feature):
""" send SIGCONT to a dcs if neccessary,
""" send SIGCONT to a dcs if necessary,
stop all Patronis remove their data directory and cleanup the keys in etcd """
context.dcs_ctl.stop_outage()
context.pctl.stop_all()
+2 -2
View File
@@ -136,8 +136,8 @@ def check_patroni_log(context, message_list, level, node, timeout):
message_list = json.loads(message_list)
for _ in range(int(timeout)):
messsages_of_level = context.pctl.read_patroni_log(node, level)
if any(any(message in line for line in messsages_of_level) for message in message_list):
messages_of_level = context.pctl.read_patroni_log(node, level)
if any(any(message in line for line in messages_of_level) for message in message_list):
break
sleep(1)
else: