ЛР 3: HAProxy + 2 реплики, общая идемпотентность, rolling update
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Opus 5.5
parent
0ab3a341aa
commit
a71c582195
@@ -0,0 +1,13 @@
|
||||
Container mtusi-lab3-postgres-1 Running
|
||||
Container mtusi-lab3-postgres-1 Waiting
|
||||
Container mtusi-lab3-postgres-1 Healthy
|
||||
Container mtusi-lab3-api-ttl-1 Starting
|
||||
Container mtusi-lab3-api-ttl-1 Started
|
||||
ok - login -> 201
|
||||
ok - expires_at is about 2s ahead (got 1.99s)
|
||||
ok - token works before expiry
|
||||
ok - expired token -> 401 (cache does not extend the session)
|
||||
|
||||
4 passed, 0 failed
|
||||
Container mtusi-lab3-api-ttl-1 Stopping
|
||||
Container mtusi-lab3-api-ttl-1 Stopped
|
||||
Reference in New Issue
Block a user