Phase 0.3: Update E2E tests for cleanup
- Delete counter.spec.ts and random-jobs.spec.ts - Rewrite permissions.spec.ts for new permission structure - Update scripts/e2e.sh: remove worker.py execution - Update generated api.ts types
This commit is contained in:
parent
a5c1eccb4b
commit
c89e0312fa
5 changed files with 72 additions and 816 deletions
|
|
@ -6,7 +6,6 @@ cd "$(dirname "$0")/.."
|
|||
# Cleanup function to kill background processes
|
||||
cleanup() {
|
||||
kill $BACKEND_PID 2>/dev/null || true
|
||||
kill $WORKER_PID 2>/dev/null || true
|
||||
}
|
||||
|
||||
# Ensure cleanup runs on exit (normal, error, or interrupt)
|
||||
|
|
@ -33,10 +32,6 @@ cd ..
|
|||
cd backend
|
||||
uv run uvicorn main:app --port 8000 --log-level warning &
|
||||
BACKEND_PID=$!
|
||||
|
||||
# Start worker for job processing
|
||||
uv run python worker.py &
|
||||
WORKER_PID=$!
|
||||
cd ..
|
||||
|
||||
# Wait for backend
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue