Skip to content

Commit 9f70969

Browse files
committed
fix: enforce SIGKILL in e2e tests and expand HF timeout
1 parent 349fc53 commit 9f70969

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

.github/workflows/e2e-test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ jobs:
4343

4444
- name: Run E2E tests
4545
env:
46-
HF_HUB_DOWNLOAD_TIMEOUT: "120"
46+
HF_HUB_DOWNLOAD_TIMEOUT: "600"
4747
run: |
4848
chmod +x tests/test-server.sh
4949
# Retry up to 2 times for transient HuggingFace download failures

tests/test-server.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -31,17 +31,17 @@ fail() { FAIL=$((FAIL + 1)); TOTAL=$((TOTAL + 1)); echo -e " ${RED}❌ FAIL${NC
3131
cleanup() {
3232
if [ -n "${SERVER_PID:-}" ]; then
3333
log "Stopping server (PID $SERVER_PID)"
34-
kill "$SERVER_PID" 2>/dev/null || true
34+
kill -9 "$SERVER_PID" 2>/dev/null || true
3535
wait "$SERVER_PID" 2>/dev/null || true
3636
fi
3737
if [ -n "${CORS_SERVER_PID:-}" ]; then
3838
log "Stopping CORS server (PID $CORS_SERVER_PID)"
39-
kill "$CORS_SERVER_PID" 2>/dev/null || true
39+
kill -9 "$CORS_SERVER_PID" 2>/dev/null || true
4040
wait "$CORS_SERVER_PID" 2>/dev/null || true
4141
fi
4242
if [ -n "${AUTH_SERVER_PID:-}" ]; then
4343
log "Stopping auth server (PID $AUTH_SERVER_PID)"
44-
kill "$AUTH_SERVER_PID" 2>/dev/null || true
44+
kill -9 "$AUTH_SERVER_PID" 2>/dev/null || true
4545
wait "$AUTH_SERVER_PID" 2>/dev/null || true
4646
fi
4747
}

0 commit comments

Comments
 (0)