Fix CI: Update test path for WebSocket integration test
This commit is contained in:
parent
eed04f1d5c
commit
76c7fe1d6f
4
.github/workflows/ci.yml
vendored
4
.github/workflows/ci.yml
vendored
@ -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 }
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user