Skip to content

Commit 8e4a033

Browse files
committed
fix(ci): move E2E test to scripts/ to prevent CI collection
The WebSocket E2E test requires: - Running server - Redis - aiohttp (not in CI deps) Moving to scripts/manual_ws_test.py so pytest doesn't collect it. Unit tests in test_ws_playground.py still run in CI (13 tests).
1 parent f9c6647 commit 8e4a033

1 file changed

Lines changed: 10 additions & 2 deletions

File tree

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,22 @@
11
#!/usr/bin/env python3
22
"""
3-
End-to-end WebSocket test for playground indexing.
3+
MANUAL WebSocket E2E test for playground indexing.
4+
5+
NOT run in CI - requires:
6+
- Running backend server (uvicorn main:app)
7+
- Redis running
8+
- aiohttp installed (pip install aiohttp)
49
510
This script:
611
1. Creates an indexing job via the REST API
712
2. Connects to the WebSocket endpoint
813
3. Listens for all events until completion/error
914
4. Reports what we received
1015
11-
Usage: python3 test_ws_e2e.py
16+
Usage:
17+
cd backend
18+
pip install aiohttp # if not installed
19+
python3 scripts/manual_ws_test.py
1220
"""
1321
import asyncio
1422
import aiohttp

0 commit comments

Comments
 (0)