File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 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
Original file line number Diff line number Diff line change @@ -31,17 +31,17 @@ fail() { FAIL=$((FAIL + 1)); TOTAL=$((TOTAL + 1)); echo -e " ${RED}❌ FAIL${NC
3131cleanup () {
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}
You can’t perform that action at this time.
0 commit comments