test(cluster): observe confirmed writes after longer rolling actions

This commit is contained in:
2026-11-15 23:13:14 +03:00
parent 972cef8f7f
commit ef619490f2
10 changed files with 3138 additions and 19 deletions
+6 -1
View File
@@ -59,7 +59,12 @@ def exercise(client, session, chat, action, *, seconds=15):
thread.start()
key = uuid4().hex
try:
while time.monotonic() - started < seconds or not finished.is_set():
while (
time.monotonic() - started < seconds
or not finished.is_set()
or time.monotonic() - started
< action_result.get("finished", 0) + 2
):
h = {**auth(session), "Idempotency-Key": key}
try:
r = client.post(path, headers=h, json={"text": key})