test(cli): stabilize runner integration timeouts (#1011)

This commit is contained in:
SSU-WEI HUANG
2026-07-12 18:42:05 +08:00
committed by GitHub
parent 73584e925a
commit 474db94136
+3
View File
@@ -25,5 +25,8 @@ process.env.HAPI_API_URL = `http://127.0.0.1:${config.port}`
process.env.CLI_API_TOKEN = config.token
process.env.HAPI_HOME = config.tmpHome
process.env.HAPI_BUN_EXEC = config.bunExec
// The stress test starts 20 real CLI children. On slower/loaded machines their
// session webhooks can take longer than the production control-client default.
process.env.HAPI_RUNNER_HTTP_TIMEOUT ??= '60000'
// Keep heartbeat short so the version-mismatch test doesn't need to wait 60s
process.env.HAPI_RUNNER_HEARTBEAT_INTERVAL ??= '30000'