1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2025-01-06 22:35:51 -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!);
});
Deno.test(
"[node/http] client closing a streaming request doesn't terminate server",
{ ignore: true },
async () => {
Deno.test("[node/http] client closing a streaming request doesn't terminate server", async () => {
let interval: number;
let uploadedData = "";
let requestError: Error | null = null;
@ -1458,8 +1455,7 @@ Deno.test(
server.close();
assertEquals(server.listening, false);
clearInterval(interval!);
},
);
});
const IGNORED_X = "[node/http] http.request() post streaming body works";
Deno.test(IGNORED_X, { ignore: Deno.build.os === "linux" }, async () => {