You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maka.apache.org by as...@apache.org on 2026/10/12 09:05:17 UTC
(maka) 01/01: test(runtime-host): use the production startup wait budget
This is an automated email from the ASF dual-hosted git repository.
Astro-Han pushed a commit to branch fix/release-host-test-readiness
in repository https://gitbox.apache.org/repos/asf/maka.git
commit 2a4262ddcdc99889d1035294693259a8c787324c
Author: AstroHan <le...@outlook.com>
AuthorDate: Mon Oct 12 19:05:11 2026 +1000
test(runtime-host): use the production startup wait budget
Generated-by: Codex
---
packages/runtime-host/src/__tests__/host-kernel.test.ts | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/packages/runtime-host/src/__tests__/host-kernel.test.ts b/packages/runtime-host/src/__tests__/host-kernel.test.ts
index 1e6a9290c8..90f49ebccc 100644
--- a/packages/runtime-host/src/__tests__/host-kernel.test.ts
+++ b/packages/runtime-host/src/__tests__/host-kernel.test.ts
@@ -50,6 +50,7 @@ import {
type RuntimeHostConnection,
} from '../client/index.js';
import {
+ DEFAULT_ELECTION_DEADLINE_MS,
IDLE_GRACE_MS_ENV_VAR,
connectOrSpawnRuntimeHostWithDependencies,
} from '../client/connect-or-spawn.js';
@@ -4137,7 +4138,7 @@ async function retryConnect(
clientInstanceId?: string;
},
) {
- const deadline = Date.now() + 5_000;
+ const deadline = Date.now() + DEFAULT_ELECTION_DEADLINE_MS;
let result = await connectRuntimeHost({
...paths,
...options,
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@maka.apache.org
For additional commands, e-mail: commits-help@maka.apache.org