Files
2026-11-12 18:37:11 +03:00

24 lines
1.6 KiB
Plaintext

# python tests/resilience.py --mode persistence --action-script scripts/restart.sh --base-url http://127.0.0.1:8084
# Same public test as: make test-persistence ACTION_SCRIPT=scripts/restart.sh BASE_URL=http://127.0.0.1:8084
# On this Windows host the hook process was Git bash, because CreateProcess cannot exec a #!/bin/sh file.
# The script and its arguments are scripts/restart.sh. git index mode of the hook is 100755.
=== before, docker inspect StartedAt ===
api-1 606d8436f093 status=running started=2026-11-12T15:25:28.188004778Z
api-2 2d9cb0ed8adc status=running started=2026-11-12T15:25:27.827643637Z
lb-1 a708afda6620 status=running started=2026-11-12T15:25:34.521198734Z
postgres-1 9c54ddd911ba status=running started=2026-11-12T15:25:18.149534309Z
minio-1 4aa69397a7e9 status=running started=2026-11-12T15:25:18.110830021Z
Executing explicit persistence hook; hook output suppressed to avoid leaking secrets.
PASS: persistence preserved confirmed data and existing session. Hook scope needs operator evidence.
=== after, same container ids, new StartedAt ===
api-1 606d8436f093 status=running started=2026-11-12T15:27:01.000430042Z
api-2 2d9cb0ed8adc status=running started=2026-11-12T15:27:00.68343251Z
lb-1 a708afda6620 status=running started=2026-11-12T15:27:06.923950206Z
postgres-1 9c54ddd911ba status=running started=2026-11-12T15:26:49.628819651Z
minio-1 4aa69397a7e9 status=running started=2026-11-12T15:26:49.732842597Z
Container ids did not change, so the named volumes stayed. PostgreSQL, MinIO, both API replicas and the LB all received a new start time.