forked from mtusi2026/mtusi2026lab2
Implement lab 2 PostgreSQL sessions and Redis profile cache
This commit is contained in:
@@ -0,0 +1,42 @@
|
||||
[
|
||||
{
|
||||
"test": "concurrent registration: one 201, seven 409",
|
||||
"result": "PASS"
|
||||
},
|
||||
{
|
||||
"test": "foreign-key failure rolls back chat and first member",
|
||||
"result": "PASS"
|
||||
},
|
||||
{
|
||||
"test": "strict payload validation and authentication before resource access",
|
||||
"result": "PASS"
|
||||
},
|
||||
{
|
||||
"test": "keyset pagination, changing limit, cross-chat cursor rejection",
|
||||
"result": "PASS"
|
||||
},
|
||||
{
|
||||
"test": "equal timestamps use UUID tie breaker",
|
||||
"result": "PASS"
|
||||
},
|
||||
{
|
||||
"test": "Unicode/colon password, wrong password, cache TTL and logout with warm cache",
|
||||
"result": "PASS"
|
||||
},
|
||||
{
|
||||
"test": "Redis outage falls back safely and cache recovers",
|
||||
"result": "PASS"
|
||||
},
|
||||
{
|
||||
"test": "DB outage fails closed with 503; same session works after recovery",
|
||||
"result": "PASS"
|
||||
},
|
||||
{
|
||||
"test": "SESSION_TTL_SECONDS=2 expires a warm-cache session",
|
||||
"result": "PASS"
|
||||
},
|
||||
{
|
||||
"test": "migrations are repeatable without duplicate data",
|
||||
"result": "PASS"
|
||||
}
|
||||
]
|
||||
Reference in New Issue
Block a user