about summary refs log tree commit homepage
path: root/t/nntpd.t
diff options
context:
space:
mode:
authorEric Wong <e@80x24.org>2019-11-24 00:22:21 +0000
committerEric Wong <e@80x24.org>2019-11-24 21:26:52 +0000
commit9bd294a216c0cd2fd013afd6ff047848d35d76aa (patch)
tree73ec09ac4a32dee621aa7ec5265d61d7b7e9943c /t/nntpd.t
parentff85eb0277ac30ef48108f2a27ce02bbc48a3f5f (diff)
downloadpublic-inbox-9bd294a216c0cd2fd013afd6ff047848d35d76aa.tar.gz
There were still a few places where we used worker processes
unnecessarily in tests, causing a small amount of unnecessary
overhead.

Followup-to: ad221e9b2852f6c5 ("t/*.t: disable nntpd/httpd worker processes in most tests")
Diffstat (limited to 't/nntpd.t')
-rw-r--r--t/nntpd.t2
1 files changed, 1 insertions, 1 deletions
diff --git a/t/nntpd.t b/t/nntpd.t
index b516ffd1..4795dc00 100644
--- a/t/nntpd.t
+++ b/t/nntpd.t
@@ -90,7 +90,7 @@ EOF
         }
 
         ok($sock, 'sock created');
-        my $cmd = [ $nntpd, "--stdout=$out", "--stderr=$err" ];
+        my $cmd = [ $nntpd, '-W0', "--stdout=$out", "--stderr=$err" ];
         $pid = spawn_listener(undef, $cmd, [ $sock ]);
         ok(defined $pid, 'forked nntpd process successfully');
         my $host_port = $sock->sockhost . ':' . $sock->sockport;