fix(e2e): require gateway network TCP readiness

This commit is contained in:
Vincent Koc
2026-06-06 16:45:21 +02:00
parent da98896f0c
commit 779fb9efe3
2 changed files with 8 additions and 1 deletions
+7
View File
@@ -1975,6 +1975,13 @@ output="$(run_logged_print_heartbeat plugins-run 08 bash -c 'printf "captured co
);
});
it("requires TCP readiness for the gateway network runner", () => {
const runner = readFileSync(GATEWAY_NETWORK_DOCKER_E2E_PATH, "utf8");
expect(runner).toContain("openclaw_e2e_probe_tcp 127.0.0.1 $PORT");
expect(runner).not.toMatch(/openclaw_e2e_probe_tcp[^\n]*\|\|[^\n]*gateway-net-e2e\.log/u);
});
it("copies root lifecycle scripts before cleanup-smoke installs dependencies", () => {
const dockerfile = readFileSync(CLEANUP_SMOKE_DOCKERFILE_PATH, "utf8");
const installIndex = dockerfile.indexOf("pnpm install --frozen-lockfile");