mirror of
https://github.com/zebrajr/node.git
synced 2026-01-15 12:15:26 +00:00
test: remove timeout in test-https-proxy-request-handshake-failure
The timeout is unnecessary since we are testing for certificate failure. It can cause flakes on very slow machines where the request cannot be finished in 1 second. PR-URL: https://github.com/nodejs/node/pull/59165 Fixes: https://github.com/nodejs/node/issues/59166 Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Chemi Atlow <chemi@atlow.co.il> Reviewed-By: Moshe Atlow <moshe@atlow.co.il> Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
This commit is contained in:
@@ -33,7 +33,6 @@ const requestUrl = `https://${serverHost}/test`;
|
||||
const { code, signal, stderr, stdout } = await runProxiedRequest({
|
||||
NODE_USE_ENV_PROXY: 1,
|
||||
REQUEST_URL: requestUrl,
|
||||
REQUEST_TIMEOUT: 1000,
|
||||
HTTPS_PROXY: `http://localhost:${proxy.address().port}`,
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user