0
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2025-02-01 20:25:12 -05:00

chore: disable curl --http2 tests (#21247)

This commit is contained in:
Matt Mastracci 2023-11-17 19:08:16 -07:00 committed by Bartek Iwańczuk
parent a59801ee4b
commit 6a9a09c6f5
No known key found for this signature in database
GPG key ID: 0C6BCDDC3B3AD750

View file

@ -3635,8 +3635,12 @@ function isProhibitedForTrailer(key: string): boolean {
return s.has(key.toLowerCase()); return s.has(key.toLowerCase());
} }
// TODO(mmastrac): curl on Windows CI stopped supporting --http2?
Deno.test( Deno.test(
{ permissions: { net: true, run: true } }, {
permissions: { net: true, run: true },
ignore: Deno.build.os === "windows",
},
async function httpServeCurlH2C() { async function httpServeCurlH2C() {
const ac = new AbortController(); const ac = new AbortController();
const server = Deno.serve( const server = Deno.serve(
@ -3705,8 +3709,16 @@ Deno.test(
}, },
); );
// TODO(mmastrac): curl on CI stopped supporting --http2?
Deno.test( Deno.test(
{ permissions: { net: true, run: true, read: true } }, {
permissions: {
net: true,
run: true,
read: true,
},
ignore: Deno.build.os === "windows",
},
async function httpsServeCurlH2C() { async function httpsServeCurlH2C() {
const ac = new AbortController(); const ac = new AbortController();
const server = Deno.serve( const server = Deno.serve(