mirror of
https://github.com/wu736139669/hapi.git
synced 2026-08-05 06:24:37 +00:00
test(cli): stabilize runner integration timeouts (#1011)
This commit is contained in:
@@ -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'
|
||||
|
||||
Reference in New Issue
Block a user