Document scaling experiment, measured database boundary and verified failure recovery
This commit is contained in:
@@ -52,7 +52,14 @@ def test_acl_and_unknown_chat(scenario):
|
||||
for cid in [chat["id"], str(uuid.uuid4())]:
|
||||
for suffix in ["", "/messages"]:
|
||||
c.call("GET", f"/api/v1/chats/{cid}{suffix}", 404, actor=eve)
|
||||
c.call("POST", f"/api/v1/chats/{cid}/messages", 404, actor=eve, body={"text": "x"}, headers={"Idempotency-Key": str(uuid.uuid4())})
|
||||
c.call(
|
||||
"POST",
|
||||
f"/api/v1/chats/{cid}/messages",
|
||||
404,
|
||||
actor=eve,
|
||||
body={"text": "x"},
|
||||
headers={"Idempotency-Key": str(uuid.uuid4())},
|
||||
)
|
||||
c.call("GET", "/api/v1/chats/not-a-uuid", 400, actor=alice)
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user