two api-replicas with LB-nginx

This commit is contained in:
2026-11-04 17:20:59 +03:00
parent f20b751207
commit 5c191c3bc5
50 changed files with 2991 additions and 311 deletions
+2 -1
View File
@@ -8,6 +8,7 @@ from helpers import (
bearer,
create_chat,
create_user,
idempotency_header,
send_message,
)
@@ -58,7 +59,7 @@ async def test_extra_message_field_is_rejected(client: AsyncClient):
response = await client.post(
f"/api/v1/chats/{chat['id']}/messages",
headers=bearer(alice),
headers={**bearer(alice), **idempotency_header()},
json={"text": "hello", "sender_id": alice["id"]},
)