comparison tests/run-tests.py @ 47776: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
comparison
equal deleted inserted replaced
47775:c405c089611a 47776:036b9b3cc79a
1544 hgrc.write(b'detailed-exit-code = True\n') 1544 hgrc.write(b'detailed-exit-code = True\n')
1545 hgrc.write(b'merge = internal:merge\n') 1545 hgrc.write(b'merge = internal:merge\n')
1546 hgrc.write(b'mergemarkers = detailed\n') 1546 hgrc.write(b'mergemarkers = detailed\n')
1547 hgrc.write(b'promptecho = True\n') 1547 hgrc.write(b'promptecho = True\n')
1548 hgrc.write(b'timeout.warn=15\n') 1548 hgrc.write(b'timeout.warn=15\n')
1549 hgrc.write(b'[chgserver]\n')
1550 hgrc.write(b'idletimeout=60\n')
1549 hgrc.write(b'[defaults]\n') 1551 hgrc.write(b'[defaults]\n')
1550 hgrc.write(b'[devel]\n') 1552 hgrc.write(b'[devel]\n')
1551 hgrc.write(b'all-warnings = true\n') 1553 hgrc.write(b'all-warnings = true\n')
1552 hgrc.write(b'default-date = 0 0\n') 1554 hgrc.write(b'default-date = 0 0\n')
1553 hgrc.write(b'[largefiles]\n') 1555 hgrc.write(b'[largefiles]\n')