Patchwork tests: arrange for a server in wireproto-command-capabilities.t to be killed

login
register
mail settings
Submitter Matt Harbison
Date April 17, 2018, 3:41 a.m.
Message ID <f31defc97cfbf6373bb7.1523936470@Envy>
Download mbox | patch
Permalink /patch/31155/
State Accepted
Headers show

Comments

Matt Harbison - April 17, 2018, 3:41 a.m.
# HG changeset patch
# User Matt Harbison <matt_harbison@yahoo.com>
# Date 1523936370 14400
#      Mon Apr 16 23:39:30 2018 -0400
# Node ID f31defc97cfbf6373bb756dc8af672ca3b959f1e
# Parent  886754323bede9e79da8f05335458af63c377668
tests: arrange for a server in wireproto-command-capabilities.t to be killed

The stray servers were piling up after the test harness exited.  On Windows,
this means the *.pyd files can't be rebuilt, which is why the build warning
count dropped to 1 recently.
Yuya Nishihara - April 17, 2018, 11:18 a.m.
On Mon, 16 Apr 2018 23:41:10 -0400, Matt Harbison wrote:
> # HG changeset patch
> # User Matt Harbison <matt_harbison@yahoo.com>
> # Date 1523936370 14400
> #      Mon Apr 16 23:39:30 2018 -0400
> # Node ID f31defc97cfbf6373bb756dc8af672ca3b959f1e
> # Parent  886754323bede9e79da8f05335458af63c377668
> tests: arrange for a server in wireproto-command-capabilities.t to be killed

Queued, thanks.

Patch

diff --git a/tests/test-wireproto-command-capabilities.t b/tests/test-wireproto-command-capabilities.t
--- a/tests/test-wireproto-command-capabilities.t
+++ b/tests/test-wireproto-command-capabilities.t
@@ -142,6 +142,7 @@  Restart server to enable HTTPv2
   $ killdaemons.py
   $ enablehttpv2 server
   $ hg -R server serve -p $HGPORT -d --pid-file hg.pid -E error.log
+  $ cat hg.pid > $DAEMON_PIDS
 
 Only requested API services are returned