Mercurial > hg
changeset 49784:e45590649888 stable
chg: scale the timeout in test with the rest
This should avoid some flakiness where the logs reports server shutting down.
author | Pierre-Yves David <pierre-yves.david@octobus.net> |
---|---|
date | Thu, 08 Dec 2022 15:13:17 +0100 |
parents | 3bbf1ad850f0 |
children | fa955e3f6aee |
files | tests/test-chg.t |
diffstat | 1 files changed, 6 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/tests/test-chg.t Sun Dec 11 16:46:29 2022 +0400 +++ b/tests/test-chg.t Thu Dec 08 15:13:17 2022 +0100 @@ -1,5 +1,11 @@ #require chg +Scale the timeout for the chg-server to the test timeout scaling. +This is done to reduce the flakiness of this test on heavy load. + + $ CHGTIMEOUT=`expr $HGTEST_TIMEOUT / 6` + $ export CHGTIMEOUT + $ mkdir log $ cp $HGRCPATH $HGRCPATH.unconfigured $ cat <<'EOF' >> $HGRCPATH