changeset 4289:cabe3b5d5139 stable

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.
author Anton Shestakov <av6@dwimlabs.net>
date Wed, 05 Dec 2018 23:13:26 +0800
parents 48da02d7f8eb
children 09337aae08d4
files CHANGELOG tests/test-wireproto.t
diffstat 2 files changed, 6 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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)