From 837c870ff4eef49a6d03071d0a3547ab67bc91f7 Mon Sep 17 00:00:00 2001 From: Gasman <90539473+MarybethGasman@users.noreply.github.com> Date: Tue, 7 Nov 2023 07:51:14 +0800 Subject: fix(node/http): socket.setTimeout (#20930) Fixes #20923 --- cli/tests/unit_node/http_test.ts | 1 + 1 file changed, 1 insertion(+) (limited to 'cli') diff --git a/cli/tests/unit_node/http_test.ts b/cli/tests/unit_node/http_test.ts index 825815ae6..ed52ccf13 100644 --- a/cli/tests/unit_node/http_test.ts +++ b/cli/tests/unit_node/http_test.ts @@ -355,6 +355,7 @@ Deno.test("[node/http] send request with non-chunked body", async () => { assert(socket.readable); socket.setKeepAlive(); socket.destroy(); + socket.setTimeout(100); }); req.write("hello "); req.write("world"); -- cgit v1.2.3