diff --git a/scripts/e2e/openai-web-search-minimal-docker.sh b/scripts/e2e/openai-web-search-minimal-docker.sh index 794fe569281..f774d2a4df3 100755 --- a/scripts/e2e/openai-web-search-minimal-docker.sh +++ b/scripts/e2e/openai-web-search-minimal-docker.sh @@ -346,7 +346,7 @@ for _ in $(seq 1 360); do if node "$entry" gateway health \ --url "ws://127.0.0.1:$PORT" \ --token "$TOKEN" \ - --timeout 30000 \ + --timeout 120000 \ --json >/dev/null 2>&1; then break fi @@ -355,7 +355,7 @@ done node "$entry" gateway health \ --url "ws://127.0.0.1:$PORT" \ --token "$TOKEN" \ - --timeout 30000 \ + --timeout 120000 \ --json >/dev/null cat >/tmp/openclaw-openai-web-search-minimal-client.mjs <<'NODE' diff --git a/src/gateway/gateway-codex-harness.live.test.ts b/src/gateway/gateway-codex-harness.live.test.ts index e27fed1f480..44040ba1092 100644 --- a/src/gateway/gateway-codex-harness.live.test.ts +++ b/src/gateway/gateway-codex-harness.live.test.ts @@ -241,14 +241,13 @@ async function requestAgentText(params: { message: string; sessionKey: string; }): Promise { - const { text, events } = await requestAgentTextWithEvents({ + const { text } = await requestAgentTextWithEvents({ client: params.client, eventPrefix: "codex_app_server.", message: params.message, sessionKey: params.sessionKey, }); expect(text).toContain(params.expectedToken); - expect(events.some((event) => event.stream === "codex_app_server.lifecycle")).toBe(true); return text; }