Mercurial > public > mercurial-scm > hg-stable
diff tests/test-commandserver.t @ 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 | be496e3489b9 |
children | a28a7dcb9158 |
line wrap: on
line diff
--- a/tests/test-commandserver.t Wed Jul 28 14:56:10 2021 +0200 +++ b/tests/test-commandserver.t Wed Jul 28 13:18:13 2021 +0200 @@ -214,6 +214,7 @@ ... runcommand(server, [b'-R', b'foo', b'showconfig', b'ui', b'defaults']) *** runcommand showconfig bundle.mainreporoot=$TESTTMP/repo + chgserver.idletimeout=60 devel.all-warnings=true devel.default-date=0 0 extensions.fsmonitor= (fsmonitor !)