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:
parent
765c481cb8
commit
858cf46894
1 changed files with 69 additions and 73 deletions
|
@ -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 () => {
|
||||
|
|
Loading…
Reference in a new issue