From 4a2d8c4bbd20cc282b4df42fe5da6414447315e0 Mon Sep 17 00:00:00 2001 From: Matt Mastracci Date: Fri, 17 Nov 2023 19:08:16 -0700 Subject: [PATCH] chore: disable curl --http2 tests (#21247) --- cli/tests/unit/serve_test.ts | 16 ++++++++++++++-- 1 file changed, 14 insertions(+), 2 deletions(-) diff --git a/cli/tests/unit/serve_test.ts b/cli/tests/unit/serve_test.ts index b1fbb2e896..69bcbc7403 100644 --- a/cli/tests/unit/serve_test.ts +++ b/cli/tests/unit/serve_test.ts @@ -3635,8 +3635,12 @@ function isProhibitedForTrailer(key: string): boolean { return s.has(key.toLowerCase()); } +// TODO(mmastrac): curl on Windows CI stopped supporting --http2? Deno.test( - { permissions: { net: true, run: true } }, + { + permissions: { net: true, run: true }, + ignore: Deno.build.os === "windows", + }, async function httpServeCurlH2C() { const ac = new AbortController(); const server = Deno.serve( @@ -3705,8 +3709,16 @@ Deno.test( }, ); +// TODO(mmastrac): curl on CI stopped supporting --http2? Deno.test( - { permissions: { net: true, run: true, read: true } }, + { + permissions: { + net: true, + run: true, + read: true, + }, + ignore: Deno.build.os === "windows", + }, async function httpsServeCurlH2C() { const ac = new AbortController(); const server = Deno.serve(