summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatt Mastracci <matthew@mastracci.com>2023-11-17 19:08:16 -0700
committerGitHub <noreply@github.com>2023-11-18 02:08:16 +0000
commit4a2d8c4bbd20cc282b4df42fe5da6414447315e0 (patch)
treeab1aa4855b43a0a71300cbf1e6d132a6d6bdacdb
parent58068a7d1ce089b08bc5f8c422fee609d8c0dee3 (diff)
chore: disable curl --http2 tests (#21247)
-rw-r--r--cli/tests/unit/serve_test.ts16
1 files changed, 14 insertions, 2 deletions
diff --git a/cli/tests/unit/serve_test.ts b/cli/tests/unit/serve_test.ts
index b1fbb2e89..69bcbc740 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(