fix: allow bounded PostGIS crash recovery
This commit is contained in:
@@ -47,6 +47,15 @@ def test_release_and_container_replacement_are_serialized() -> None:
|
||||
assert "GeoIntel container removal did not complete within 60 seconds" in run_script
|
||||
|
||||
|
||||
def test_release_waits_for_large_postgis_volume_recovery() -> None:
|
||||
release_script = (ROOT / "deploy" / "unraid" / "deploy-release.sh").read_text(encoding="utf-8")
|
||||
start_script = (ROOT / "deploy" / "unraid" / "all-in-one-start.sh").read_text(encoding="utf-8")
|
||||
|
||||
assert "for attempt in $(seq 1 480)" in release_script
|
||||
assert "for attempt in $(seq 1 450)" in start_script
|
||||
assert "PostGIS did not become ready within 15 minutes." in start_script
|
||||
|
||||
|
||||
def test_runtime_configuration_is_validated_before_container_replacement() -> None:
|
||||
run_script = (ROOT / "deploy" / "unraid" / "run-dockerman-container.sh").read_text(encoding="utf-8")
|
||||
|
||||
|
||||
Reference in New Issue
Block a user