1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2025-01-07 22:58:24 -05:00

enable [node/http] client closing a streaming request doesn't terminate server

This commit is contained in:
Yoshiya Hinosawa 2024-10-18 16:35:36 +09:00
parent 765c481cb8
commit 858cf46894
No known key found for this signature in database
GPG key ID: 9017DB4559488785

View file

@ -1377,10 +1377,7 @@ Deno.test("[node/http] client closing a streaming response doesn't terminate ser
clearInterval(interval!); clearInterval(interval!);
}); });
Deno.test( Deno.test("[node/http] client closing a streaming request doesn't terminate server", async () => {
"[node/http] client closing a streaming request doesn't terminate server",
{ ignore: true },
async () => {
let interval: number; let interval: number;
let uploadedData = ""; let uploadedData = "";
let requestError: Error | null = null; let requestError: Error | null = null;
@ -1458,8 +1455,7 @@ Deno.test(
server.close(); server.close();
assertEquals(server.listening, false); assertEquals(server.listening, false);
clearInterval(interval!); clearInterval(interval!);
}, });
);
const IGNORED_X = "[node/http] http.request() post streaming body works"; const IGNORED_X = "[node/http] http.request() post streaming body works";
Deno.test(IGNORED_X, { ignore: Deno.build.os === "linux" }, async () => { Deno.test(IGNORED_X, { ignore: Deno.build.os === "linux" }, async () => {