forked from mtusi2026/mtusi2026lab3
исправление ошибки
This commit is contained in:
@@ -16,6 +16,7 @@ from uuid import uuid4
|
||||
from helpers import Client, ROOT
|
||||
from client import Failure
|
||||
from resilience import history
|
||||
from postgres_pause import check_postgres_pause
|
||||
|
||||
|
||||
def docker(*args):
|
||||
@@ -212,6 +213,8 @@ time.sleep(30)
|
||||
assert sql("SELECT count(*) FROM messages") == count
|
||||
print("PASS: migrations only in one-shot service; repeated execution preserves data", flush=True)
|
||||
|
||||
result["postgres_pause"] = check_postgres_pause(compose, base, lambda: script("wait-ready.sh"))
|
||||
|
||||
replay_client = Client(base)
|
||||
replay_actor, _, _, replay_chat = replay_client.bootstrap()
|
||||
replay_key = uuid4().hex
|
||||
|
||||
Reference in New Issue
Block a user