исправил ошибку

This commit is contained in:
Ванек
2026-11-06 10:47:51 +03:00
parent c43d3490a0
commit 9696ad71a4
7 changed files with 1419 additions and 1041 deletions
+3
View File
@@ -17,6 +17,7 @@ from helpers import Client, ROOT
from client import Failure
from resilience import history
from attachment_checks import run_checks
from postgres_pause import check_postgres_pause
def docker(*args):
@@ -263,6 +264,8 @@ time.sleep(30)
script("wait-ready.sh")
dependency_client.call("GET", "/api/v1/users/me", actor=actor, schema="User")
result["postgres_pause"] = check_postgres_pause(compose, apis, base)
subprocess.run(["make", "test-failover", "PYTHON=" + sys.executable, "ACTION_SCRIPT=scripts/stop-one.sh"],
cwd=ROOT, env=env, check=True, timeout=90)
assert sum(i["State"]["Running"] for i in apis()) == 1