tests: don't forget to add hg serve pid to DAEMON_PIDS in test-wireproto.t stable
authorAnton Shestakov <av6@dwimlabs.net>
Wed, 05 Dec 2018 23:13:26 +0800
branchstable
changeset 4289 cabe3b5d5139
parent 4279 48da02d7f8eb
child 4290 09337aae08d4
tests: don't forget to add hg serve pid to DAEMON_PIDS in test-wireproto.t Otherwise it leaves a process running after each run-tests.py launch.
CHANGELOG
tests/test-wireproto.t
--- a/CHANGELOG	Tue Nov 27 04:42:45 2018 +0100
+++ b/CHANGELOG	Wed Dec 05 23:13:26 2018 +0800
@@ -1,8 +1,12 @@
 Changelog
 =========
 
+8.3.3 - in progress
+-------------------
 
-8.3.2 --2017-11-27
+  * test: avoid leaking `hg serve` process
+
+8.3.2 -- 2017-11-27
 -------------------
 
   * evolve: not longer attempt to translate revision's descriptions (issue6016)
--- a/tests/test-wireproto.t	Tue Nov 27 04:42:45 2018 +0100
+++ b/tests/test-wireproto.t	Wed Dec 05 23:13:26 2018 +0800
@@ -230,6 +230,7 @@
 
   $ $RUNTESTDIR/killdaemons.py $DAEMON_PIDS
   $ hg serve -R server -n test -p $HGPORT -d --pid-file=hg.pid -A access.log -E errors.log  --config experimental.evolution='!'
+  $ cat hg.pid >> $DAEMON_PIDS
   $ hg debugpushkey http://localhost:$HGPORT/ obsolete
 
 (do some extra pulling to be sure)