forked from mtusi2026/mtusi2026lab2
80 lines
2.4 KiB
JSON
80 lines
2.4 KiB
JSON
{
|
|
"recorded_at": "2026-10-12T06:25:43.133804+00:00",
|
|
"scenario": "full-restart",
|
|
"command": "python scripts/test-persistence.py --scenario full-restart --base-url http://127.0.0.1:8080",
|
|
"hook": "scripts/restart.cmd",
|
|
"elapsed_seconds": 40.779,
|
|
"result": "PASS",
|
|
"test_output": "Restarting backend, PostgreSQL and Redis; hook output suppressed.\nPASS: users, chat, membership, confirmed message and all existing sessions survived; access control, new writes and logout work after restart.",
|
|
"before": {
|
|
"backend": {
|
|
"id": "e65385c8d35f102e3e50ff45e965ce720a952cc3bce6781c666379a30280037b",
|
|
"started_at": "2026-10-12T06:21:19.516993813Z",
|
|
"running": true,
|
|
"volumes": [
|
|
{
|
|
"name": "mtusi2026lab2-fork_backend_data",
|
|
"destination": "/app/data"
|
|
}
|
|
]
|
|
},
|
|
"postgres": {
|
|
"id": "c2fbbfded445fbedeff7ae87dcc06b05bedb0d2b2c89050e4a1a2236b06398f5",
|
|
"started_at": "2026-10-12T06:20:41.596732919Z",
|
|
"running": true,
|
|
"volumes": [
|
|
{
|
|
"name": "mtusi2026lab2-fork_postgres_data",
|
|
"destination": "/var/lib/postgresql/data"
|
|
}
|
|
]
|
|
},
|
|
"redis": {
|
|
"id": "547184576f5e04a076d8c41e504cb0669c4f7c17daed437a6ae1db41ee5d1435",
|
|
"started_at": "2026-10-12T06:20:41.592548143Z",
|
|
"running": true,
|
|
"volumes": [
|
|
{
|
|
"name": "mtusi2026lab2-fork_redis_data",
|
|
"destination": "/data"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"after": {
|
|
"backend": {
|
|
"id": "e65385c8d35f102e3e50ff45e965ce720a952cc3bce6781c666379a30280037b",
|
|
"started_at": "2026-10-12T06:25:33.943246182Z",
|
|
"running": true,
|
|
"volumes": [
|
|
{
|
|
"name": "mtusi2026lab2-fork_backend_data",
|
|
"destination": "/app/data"
|
|
}
|
|
]
|
|
},
|
|
"postgres": {
|
|
"id": "c2fbbfded445fbedeff7ae87dcc06b05bedb0d2b2c89050e4a1a2236b06398f5",
|
|
"started_at": "2026-10-12T06:25:26.025429573Z",
|
|
"running": true,
|
|
"volumes": [
|
|
{
|
|
"name": "mtusi2026lab2-fork_postgres_data",
|
|
"destination": "/var/lib/postgresql/data"
|
|
}
|
|
]
|
|
},
|
|
"redis": {
|
|
"id": "547184576f5e04a076d8c41e504cb0669c4f7c17daed437a6ae1db41ee5d1435",
|
|
"started_at": "2026-10-12T06:25:26.023339878Z",
|
|
"running": true,
|
|
"volumes": [
|
|
{
|
|
"name": "mtusi2026lab2-fork_redis_data",
|
|
"destination": "/data"
|
|
}
|
|
]
|
|
}
|
|
}
|
|
}
|