You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix: use WebSocket for exec test in e2e-build-test.sh
The exec endpoint uses WebSocket, not REST API. The previous curl POST
approach returned HTTP 405 and empty responses.
Changes:
- Use websocat WebSocket client for exec (auto-downloads if needed)
- Write JSON command to temp file to avoid shell escaping issues
- Add wait_for_agent parameter to give guest agent time to initialize
- Increase sleep before exec from 2s to 5s for reliability
- Verify exec success by checking for expected output (Alpine Linux)
0 commit comments