99 lines
2.0 KiB
JSON
99 lines
2.0 KiB
JSON
{
|
|
"scenario": "S3 outage and recovery",
|
|
"max_fail_seconds": 15.0,
|
|
"s3_warmup_seconds": 20.34,
|
|
"checks": [
|
|
{
|
|
"check": "baseline upload 201",
|
|
"ok": true,
|
|
"detail": "201"
|
|
},
|
|
{
|
|
"check": "readiness stays 200 while S3 is down (S3 is not a readiness dependency)",
|
|
"ok": true,
|
|
"detail": "200"
|
|
},
|
|
{
|
|
"check": "text message 201 during S3 outage",
|
|
"ok": true,
|
|
"detail": "201"
|
|
},
|
|
{
|
|
"check": "history 200 during S3 outage",
|
|
"ok": true,
|
|
"detail": "200"
|
|
},
|
|
{
|
|
"check": "attachment metadata 200 (PostgreSQL only)",
|
|
"ok": true,
|
|
"detail": "200"
|
|
},
|
|
{
|
|
"check": "message referencing existing attachment 201",
|
|
"ok": true,
|
|
"detail": "201"
|
|
},
|
|
{
|
|
"check": "upload #1 -> 503 unavailable",
|
|
"ok": true,
|
|
"detail": "503 unavailable in 6.53s"
|
|
},
|
|
{
|
|
"check": "upload #1 failed fast (<= 15s)",
|
|
"ok": true,
|
|
"detail": "6.53s"
|
|
},
|
|
{
|
|
"check": "upload #1 has Retry-After",
|
|
"ok": true,
|
|
"detail": ""
|
|
},
|
|
{
|
|
"check": "upload #2 -> 503 unavailable",
|
|
"ok": true,
|
|
"detail": "503 unavailable in 6.31s"
|
|
},
|
|
{
|
|
"check": "upload #2 failed fast (<= 15s)",
|
|
"ok": true,
|
|
"detail": "6.31s"
|
|
},
|
|
{
|
|
"check": "upload #2 has Retry-After",
|
|
"ok": true,
|
|
"detail": ""
|
|
},
|
|
{
|
|
"check": "download -> 503 during outage",
|
|
"ok": true,
|
|
"detail": "503 in 3.66s"
|
|
},
|
|
{
|
|
"check": "download failed fast",
|
|
"ok": true,
|
|
"detail": "3.66s"
|
|
},
|
|
{
|
|
"check": "session still valid",
|
|
"ok": true,
|
|
"detail": "200"
|
|
},
|
|
{
|
|
"check": "S3 read/write warm-up after start",
|
|
"ok": true,
|
|
"detail": "20.34s"
|
|
},
|
|
{
|
|
"check": "old file downloads byte-for-byte after recovery",
|
|
"ok": true,
|
|
"detail": "200 0.02s"
|
|
},
|
|
{
|
|
"check": "new upload 201 after recovery (same token, no API restart)",
|
|
"ok": true,
|
|
"detail": "201"
|
|
}
|
|
],
|
|
"pass": true
|
|
}
|