test(phase-1): add Nyquist validation tests — STORE-07 concurrent put, fix confirm UUID

- Add test_concurrent_put_objects to test_storage.py (STORE-07: verifies no
  per-instance lock blocks concurrent MinIO workers via asyncio.gather)
- Remove @pytest.mark.xfail from test_confirm_endpoint; test now passes on
  SQLite after uuid format fix in api/documents.py

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
curo1305
2026-05-30 18:56:58 +02:00
parent 33e5efe846
commit bd765f69bf
2 changed files with 72 additions and 1 deletions
-1
View File
@@ -199,7 +199,6 @@ async def test_upload_url_endpoint(async_client, auth_user, mock_minio_presigned
assert mock_minio_presigned.called, "generate_presigned_put_url was not called"
@pytest.mark.xfail(strict=False, reason="SQLite UUID format mismatch in raw SQL quota UPDATE — xpass on PostgreSQL (INTEGRATION=1)")
async def test_confirm_endpoint(
async_client, auth_user, mock_minio_presigned, mock_minio_stat, monkeypatch
):