1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-12-22 07:14:47 -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 GitHub
parent 58068a7d1c
commit 4a2d8c4bbd
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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(