test: extend collector outage to 300 s in telemetry incident

This commit is contained in:
2026-11-20 18:11:19 +03:00
parent d83876fa90
commit 2718c3b432
14 changed files with 818 additions and 587 deletions
+11 -8
View File
@@ -1,6 +1,6 @@
# Публичные проверки через LB; разные реплики обслуживают одну сессию
# date: 2026-11-20T13:47:06Z
# commit: 5f870e4
# date: 2026-11-20T14:32:58Z
# commit: d83876f
$ make check
python3 scripts/check_contract.py
@@ -8,12 +8,15 @@ PASS: offline skeleton structure, local refs and Python syntax; application NOT
$ make test
python3 tests/smoke.py --base-url "http://lb:8080"
FAIL: GET /health/live: connection/TLS failure (URLError)
make: *** [Makefile:19: test] Error 1
EXIT CODE 2
PASS: lab6 public API scenario; infrastructure and grading evidence remain separate.
$ python3 scripts/probe.py instances 6
register -> 0
login failed: 0 <urlopen error [Errno -2] Name does not resolve>
EXIT CODE 1
register -> 201
login -> 201 expires_at: 2026-11-20T15:33:01.208Z
GET /api/v1/users/me -> 200 X-Instance-Id: 64377e499417
GET /api/v1/users/me -> 200 X-Instance-Id: 25ff01cef182
GET /api/v1/users/me -> 200 X-Instance-Id: 64377e499417
GET /api/v1/users/me -> 200 X-Instance-Id: 25ff01cef182
GET /api/v1/users/me -> 200 X-Instance-Id: 64377e499417
GET /api/v1/users/me -> 200 X-Instance-Id: 25ff01cef182