Fix CI: Update test path for WebSocket integration test

This commit is contained in:
jasonwitty 2025-09-04 06:11:59 -07:00
parent eed04f1d5c
commit 76c7fe1d6f

View File

@ -42,7 +42,7 @@ jobs:
kill $AGENT_PID || true kill $AGENT_PID || true
exit 1 exit 1
fi fi
SOCKTOP_WS=ws://127.0.0.1:3000/ws cargo test -p socktop --test ws_probe -- --nocapture SOCKTOP_WS=ws://127.0.0.1:3000/ws cargo test -p socktop_connector --test integration_test -- --nocapture
kill $AGENT_PID || true kill $AGENT_PID || true
- name: "Windows: start agent and run WS probe" - name: "Windows: start agent and run WS probe"
@ -79,7 +79,7 @@ jobs:
} }
$env:SOCKTOP_WS = "ws://127.0.0.1:3000/ws" $env:SOCKTOP_WS = "ws://127.0.0.1:3000/ws"
try { try {
cargo test -p socktop --test ws_probe -- --nocapture cargo test -p socktop_connector --test integration_test -- --nocapture
} finally { } finally {
if ($p -and !$p.HasExited) { Stop-Process -Id $p.Id -Force -ErrorAction SilentlyContinue } if ($p -and !$p.HasExited) { Stop-Process -Id $p.Id -Force -ErrorAction SilentlyContinue }
} }