Skip to content

Commit 8f64cd3

Browse files
committed
test: wait for ACPX runtime in MCP docker lane
1 parent 8866544 commit 8f64cd3

1 file changed

Lines changed: 13 additions & 0 deletions

File tree

scripts/e2e/mcp-channels-docker.sh

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,19 @@ docker run --rm \
6565
tail -n 120 /tmp/mcp-channels-gateway.log 2>/dev/null || true
6666
exit 1
6767
fi
68+
acpx_ready=0
69+
for _ in \$(seq 1 960); do
70+
if grep -q '\[plugins\] embedded acpx runtime backend ready' /tmp/mcp-channels-gateway.log 2>/dev/null; then
71+
acpx_ready=1
72+
break
73+
fi
74+
sleep 0.25
75+
done
76+
if [ \"\$acpx_ready\" -ne 1 ]; then
77+
echo \"Embedded ACPX runtime did not become ready\"
78+
tail -n 120 /tmp/mcp-channels-gateway.log 2>/dev/null || true
79+
exit 1
80+
fi
6881
node --import tsx scripts/e2e/mcp-channels-docker-client.ts
6982
" >"$CLIENT_LOG" 2>&1
7083
status=${PIPESTATUS[0]}

0 commit comments

Comments
 (0)