diff options
author | Ali Hasani <a.hassssani@gmail.com> | 2020-05-17 21:41:24 +0430 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-05-17 19:11:24 +0200 |
commit | eddb916883901385233bea24313e2920fcac5388 (patch) | |
tree | 0dbde6a34037b1c2b2459077731cb9afdc5b3a35 /std/http/server_test.ts | |
parent | a054250a2cd709f74a3c9984af0cb74b7adde3bd (diff) |
Implement Deno.kill for windows (#5347)
Diffstat (limited to 'std/http/server_test.ts')
-rw-r--r-- | std/http/server_test.ts | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/std/http/server_test.ts b/std/http/server_test.ts index 807695c6b..0560f7f8d 100644 --- a/std/http/server_test.ts +++ b/std/http/server_test.ts @@ -351,12 +351,15 @@ test("requestBodyReaderWithTransferEncoding", async function (): Promise<void> { test({ name: "destroyed connection", - // FIXME(bartlomieju): hangs on windows, cause can't do `Deno.kill` - ignore: true, fn: async (): Promise<void> => { // Runs a simple server as another process const p = Deno.run({ - cmd: [Deno.execPath(), "--allow-net", "http/testdata/simple_server.ts"], + cmd: [ + Deno.execPath(), + "run", + "--allow-net", + "http/testdata/simple_server.ts", + ], stdout: "piped", }); @@ -392,13 +395,12 @@ test({ test({ name: "serveTLS", - // FIXME(bartlomieju): hangs on windows, cause can't do `Deno.kill` - ignore: true, fn: async (): Promise<void> => { // Runs a simple server as another process const p = Deno.run({ cmd: [ Deno.execPath(), + "run", "--allow-net", "--allow-read", "http/testdata/simple_https_server.ts", |