From b3e134200949205cb62419d88bc8cc9d96365a32 Mon Sep 17 00:00:00 2001 From: jesse-merhi <79823012+jesse-merhi@users.noreply.github.com> Date: Mon, 4 May 2026 02:30:40 +1000 Subject: [PATCH] test: keep CONNECT timeout regression deterministic --- src/infra/net/http-connect-tunnel.ts | 1 - 1 file changed, 1 deletion(-) diff --git a/src/infra/net/http-connect-tunnel.ts b/src/infra/net/http-connect-tunnel.ts index 04ad11302ae..82bf80725c5 100644 --- a/src/infra/net/http-connect-tunnel.ts +++ b/src/infra/net/http-connect-tunnel.ts @@ -161,7 +161,6 @@ export async function openHttpConnectTunnel(params: HttpConnectTunnelParams): Pr timeout = setTimeout(() => { fail(new Error(`Proxy CONNECT timed out after ${Math.trunc(params.timeoutMs ?? 0)}ms`)); }, Math.trunc(params.timeoutMs)); - timeout.unref?.(); } const proxyHost = resolveProxyHost(proxy);