From d510e5049d86abd198ec5a4dea1df79eea300bbc Mon Sep 17 00:00:00 2001 From: Joyee Cheung Date: Tue, 22 Jul 2025 14:02:48 +0200 Subject: [PATCH] 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. --- test/client-proxy/test-https-proxy-request-handshake-failure.mjs | 1 - 1 file changed, 1 deletion(-) diff --git a/test/client-proxy/test-https-proxy-request-handshake-failure.mjs b/test/client-proxy/test-https-proxy-request-handshake-failure.mjs index df6bc446fee0e7..251d136afaa6c1 100644 --- a/test/client-proxy/test-https-proxy-request-handshake-failure.mjs +++ b/test/client-proxy/test-https-proxy-request-handshake-failure.mjs @@ -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}`, });