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

chore: disable flaky test on Windows (#8987)

This commit is contained in:
Bartek Iwańczuk 2021-01-04 14:27:29 +01:00 committed by GitHub
parent 379eedc05c
commit f4246ee1fc
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -919,8 +919,14 @@ unitTest(
},
);
// 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)
unitTest(
{ perms: { net: true } },
{ perms: { net: true }, ignore: Deno.build.os == "windows" },
async function fetchNullBodyStatus(): Promise<void> {
const nullBodyStatus = [101, 204, 205, 304];