0
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2025-03-03 09:31:22 -05:00

test: fix flaky deno_land_unsafe_ssl test (#17357)

This commit is contained in:
Bartek Iwańczuk 2023-01-12 01:04:25 +01:00 committed by GitHub
parent cc4bc2c01c
commit ee2c6cb04a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 4 additions and 3 deletions

View file

@ -58,8 +58,9 @@ mod cert {
itest!(deno_land_unsafe_ssl {
args:
"run --quiet --reload --allow-net --unsafely-ignore-certificate-errors=deno.land cert/deno_land_unsafe_ssl.ts",
"run --quiet --reload --allow-net --cert=tls/RootCA.pem --unsafely-ignore-certificate-errors=localhost cert/deno_land_unsafe_ssl.ts",
output: "cert/deno_land_unsafe_ssl.ts.out",
http_server: true,
});
itest!(ip_address_unsafe_ssl {

View file

@ -1,2 +1,2 @@
const r = await fetch("https://google.com");
const r = await fetch("https://localhost:5545/cert/cafile_info.ts");
console.log(r.status);

View file

@ -1,2 +1,2 @@
DANGER: TLS certificate validation is disabled for: deno.land
DANGER: TLS certificate validation is disabled for: localhost
200