1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-11-22 15:06:54 -05:00

test(ext/fetch): enable null body status test on windows (#15995)

This commit is contained in:
Marcos Casagrande 2022-09-23 14:34:04 +02:00 committed by GitHub
parent 72af1496d9
commit 12306022da
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1014,14 +1014,8 @@ Deno.test(
}, },
); );
// FIXME(bartlomieju): for reasons unknown after working for
// a few months without a problem; this test started failing
// consistently on Windows CI with following error:
// TypeError: error sending request for url (http://localhost:4545/echo_server):
// connection error: An established connection was aborted by
// the software in your host machine. (os error 10053)
Deno.test( Deno.test(
{ permissions: { net: true }, ignore: Deno.build.os == "windows" }, { permissions: { net: true } },
async function fetchNullBodyStatus() { async function fetchNullBodyStatus() {
const nullBodyStatus = [101, 204, 205, 304]; const nullBodyStatus = [101, 204, 205, 304];