summaryrefslogtreecommitdiff
path: root/std/http
diff options
context:
space:
mode:
Diffstat (limited to 'std/http')
-rw-r--r--std/http/file_server_test.ts5
-rw-r--r--std/http/racing_server_test.ts2
-rw-r--r--std/http/server_test.ts2
3 files changed, 8 insertions, 1 deletions
diff --git a/std/http/file_server_test.ts b/std/http/file_server_test.ts
index ca8d3b3b2..5f7137998 100644
--- a/std/http/file_server_test.ts
+++ b/std/http/file_server_test.ts
@@ -25,6 +25,7 @@ async function startFileServer({
cmd: [
Deno.execPath(),
"run",
+ "--quiet",
"--allow-read",
"--allow-net",
"file_server.ts",
@@ -50,6 +51,7 @@ async function startFileServerAsLibrary({}: FileServerCfg = {}): Promise<void> {
cmd: [
Deno.execPath(),
"run",
+ "--quiet",
"--allow-read",
"--allow-net",
"testdata/file_server_as_library.ts",
@@ -205,6 +207,7 @@ Deno.test("printHelp", async function (): Promise<void> {
cmd: [
Deno.execPath(),
"run",
+ "--quiet",
// TODO(ry) It ought to be possible to get the help output without
// --allow-read.
"--allow-read",
@@ -264,6 +267,7 @@ async function startTlsFileServer({
cmd: [
Deno.execPath(),
"run",
+ "--quiet",
"--allow-read",
"--allow-net",
"file_server.ts",
@@ -319,6 +323,7 @@ Deno.test("partial TLS arguments fail", async function (): Promise<void> {
cmd: [
Deno.execPath(),
"run",
+ "--quiet",
"--allow-read",
"--allow-net",
"file_server.ts",
diff --git a/std/http/racing_server_test.ts b/std/http/racing_server_test.ts
index b8336abcd..5e253c6cd 100644
--- a/std/http/racing_server_test.ts
+++ b/std/http/racing_server_test.ts
@@ -9,7 +9,7 @@ const moduleDir = dirname(fromFileUrl(import.meta.url));
let server: Deno.Process<Deno.RunOptions & { stdout: "piped" }>;
async function startServer(): Promise<void> {
server = Deno.run({
- cmd: [Deno.execPath(), "run", "-A", "racing_server.ts"],
+ cmd: [Deno.execPath(), "run", "--quiet", "-A", "racing_server.ts"],
cwd: moduleDir,
stdout: "piped",
});
diff --git a/std/http/server_test.ts b/std/http/server_test.ts
index e7a1c42dc..8a3be71c2 100644
--- a/std/http/server_test.ts
+++ b/std/http/server_test.ts
@@ -370,6 +370,7 @@ Deno.test({
cmd: [
Deno.execPath(),
"run",
+ "--quiet",
"--allow-net",
"testdata/simple_server.ts",
],
@@ -415,6 +416,7 @@ Deno.test({
cmd: [
Deno.execPath(),
"run",
+ "--quiet",
"--allow-net",
"--allow-read",
"testdata/simple_https_server.ts",