diff --git a/bin/lib/onboard.js b/bin/lib/onboard.js index 1480f435d..d5606ae51 100644 --- a/bin/lib/onboard.js +++ b/bin/lib/onboard.js @@ -448,7 +448,7 @@ function hydrateCredentialEnv(envName) { } function getCurlTimingArgs() { - return ["--connect-timeout 5", "--max-time 20"]; + return ["--connect-timeout 10", "--max-time 60"]; } function buildProviderArgs(action, name, type, credentialEnv, baseUrl) { diff --git a/test/credential-exposure.test.js b/test/credential-exposure.test.js index 08f880a9d..8c5381cbf 100644 --- a/test/credential-exposure.test.js +++ b/test/credential-exposure.test.js @@ -87,7 +87,7 @@ describe("credential exposure in process arguments", () => { const src = fs.readFileSync(ONBOARD_JS, "utf-8"); expect(src).toMatch(/function getCurlTimingArgs\(\)/); - expect(src).toMatch(/--connect-timeout 5/); - expect(src).toMatch(/--max-time 20/); + expect(src).toMatch(/--connect-timeout 10/); + expect(src).toMatch(/--max-time 60/); }); });