forked from mtusi2026/mtusi2026lab3
21 lines
1.0 KiB
Plaintext
21 lines
1.0 KiB
Plaintext
python : Container mtusi-lab3-redis-1 Paused
|
|
строка:1 знак:23
|
|
+ ... cache.txt { python student-tests\logout_cache.py --base-url http://lo ...
|
|
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
|
+ CategoryInfo : NotSpecified: ( Container mtusi-lab3-redis-1 Paused :String) [], RemoteException
|
|
+ FullyQualifiedErrorId : NativeCommandError
|
|
|
|
Container mtusi-lab3-redis-1 Unpaused
|
|
ok - session is warmed up in cache
|
|
== Redis яЁшюёЄрэютыхэ ==
|
|
$ docker compose --env-file .env pause redis
|
|
ok - logout is NOT confirmed while cache cannot be invalidated (got 503, expected 503)
|
|
$ docker compose --env-file .env unpause redis
|
|
== Redis тюёёЄрэютыхэ ==
|
|
ok - unconfirmed logout left the session consistent and valid (got 200)
|
|
ok - retry logout after Redis recovery -> 204 (got 204)
|
|
ok - old token after confirmed logout -> 401, no stale cache copy (got 401)
|
|
ok - old token still rejected on repeat (got 401)
|
|
|
|
6 passed, 0 failed
|