diff options
author | Gasman <90539473+MarybethGasman@users.noreply.github.com> | 2023-11-07 07:51:14 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-11-07 00:51:14 +0100 |
commit | 837c870ff4eef49a6d03071d0a3547ab67bc91f7 (patch) | |
tree | 60e756a604fb3d9a0cf4109bef60fbb18189c084 /cli/tests/unit_node/http_test.ts | |
parent | 90189dd9974be01596ec776e63a4eceef1a036e0 (diff) |
fix(node/http): socket.setTimeout (#20930)
Fixes #20923
Diffstat (limited to 'cli/tests/unit_node/http_test.ts')
-rw-r--r-- | cli/tests/unit_node/http_test.ts | 1 |
1 files changed, 1 insertions, 0 deletions
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"); |