diff --git a/scripts/e2e/lib/bundled-plugin-install-uninstall/runtime-smoke.mjs b/scripts/e2e/lib/bundled-plugin-install-uninstall/runtime-smoke.mjs index b9c1c9e785b..5a171b55dbe 100644 --- a/scripts/e2e/lib/bundled-plugin-install-uninstall/runtime-smoke.mjs +++ b/scripts/e2e/lib/bundled-plugin-install-uninstall/runtime-smoke.mjs @@ -9,7 +9,7 @@ const TOKEN = "bundled-plugin-runtime-smoke-token"; const WATCHDOG_MS = readPositiveInt(process.env.OPENCLAW_BUNDLED_PLUGIN_RUNTIME_WATCHDOG_MS, 1000); const READY_TIMEOUT_MS = readPositiveInt( process.env.OPENCLAW_BUNDLED_PLUGIN_RUNTIME_READY_MS, - 420000, + 900000, ); const RPC_TIMEOUT_MS = readPositiveInt(process.env.OPENCLAW_BUNDLED_PLUGIN_RUNTIME_RPC_MS, 60000); const RPC_READY_TIMEOUT_MS = readPositiveInt( diff --git a/test/scripts/docker-build-helper.test.ts b/test/scripts/docker-build-helper.test.ts index f2eb758d403..3a5bf5ff105 100644 --- a/test/scripts/docker-build-helper.test.ts +++ b/test/scripts/docker-build-helper.test.ts @@ -19,6 +19,8 @@ const BUNDLED_PLUGIN_INSTALL_UNINSTALL_SWEEP_PATH = "scripts/e2e/lib/bundled-plugin-install-uninstall/sweep.sh"; const BUNDLED_PLUGIN_INSTALL_UNINSTALL_PROBE_PATH = "scripts/e2e/lib/bundled-plugin-install-uninstall/probe.mjs"; +const BUNDLED_PLUGIN_INSTALL_UNINSTALL_RUNTIME_SMOKE_PATH = + "scripts/e2e/lib/bundled-plugin-install-uninstall/runtime-smoke.mjs"; const PLUGINS_DOCKER_E2E_PATH = "scripts/e2e/plugins-docker.sh"; const PLUGINS_DOCKER_SWEEP_PATH = "scripts/e2e/lib/plugins/sweep.sh"; const PLUGINS_DOCKER_MARKETPLACE_PATH = "scripts/e2e/lib/plugins/marketplace.sh"; @@ -208,11 +210,15 @@ describe("docker build helper", () => { const runner = readFileSync(BUNDLED_PLUGIN_INSTALL_UNINSTALL_E2E_PATH, "utf8"); const sweep = readFileSync(BUNDLED_PLUGIN_INSTALL_UNINSTALL_SWEEP_PATH, "utf8"); const probe = readFileSync(BUNDLED_PLUGIN_INSTALL_UNINSTALL_PROBE_PATH, "utf8"); + const runtimeSmoke = readFileSync(BUNDLED_PLUGIN_INSTALL_UNINSTALL_RUNTIME_SMOKE_PATH, "utf8"); expect(runner).toContain("OPENCLAW_BUNDLED_PLUGIN_SWEEP_TOTAL"); expect(runner).toContain("OPENCLAW_BUNDLED_PLUGIN_SWEEP_INDEX"); + expect(runner).toContain("OPENCLAW_BUNDLED_PLUGIN_RUNTIME_READY_MS"); expect(runner).toContain("scripts/e2e/lib/bundled-plugin-install-uninstall/sweep.sh"); expect(probe).toContain('"openclaw.plugin.json"'); + expect(runtimeSmoke).toContain("process.env.OPENCLAW_BUNDLED_PLUGIN_RUNTIME_READY_MS"); + expect(runtimeSmoke).toContain("900000"); expect(sweep).toContain("read -r plugin_id plugin_dir requires_config"); expect(sweep).toContain('node "$OPENCLAW_ENTRY" plugins install "$plugin_id"'); expect(sweep).toContain('node "$OPENCLAW_ENTRY" plugins uninstall "$plugin_id" --force');