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:
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!);
|
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 () => {
|
||||||
|
|
Loading…
Reference in a new issue