Mercurial > public > mercurial-scm > hg-stable
diff tests/run-tests.py @ 47775:036b9b3cc79a stable
run-tests: use a small timeout for chg instance
There is case where the test runner fails to clean up the temporary files in
that case, spawned chg instance can stay around for 1 hours. Getting them to
shut down sooner cannot hurt.
(We should also use a more robust approach for this cleanup)
Differential Revision: https://phab.mercurial-scm.org/D11227
author | Pierre-Yves David <pierre-yves.david@octobus.net> |
---|---|
date | Wed, 28 Jul 2021 13:18:13 +0200 |
parents | c405c089611a |
children | 83235fb50e1c |
line wrap: on
line diff
--- a/tests/run-tests.py Wed Jul 28 14:56:10 2021 +0200 +++ b/tests/run-tests.py Wed Jul 28 13:18:13 2021 +0200 @@ -1546,6 +1546,8 @@ hgrc.write(b'mergemarkers = detailed\n') hgrc.write(b'promptecho = True\n') hgrc.write(b'timeout.warn=15\n') + hgrc.write(b'[chgserver]\n') + hgrc.write(b'idletimeout=60\n') hgrc.write(b'[defaults]\n') hgrc.write(b'[devel]\n') hgrc.write(b'all-warnings = true\n')