# HG changeset patch # User Pierre-Yves David # Date 1670508797 -3600 # Node ID e45590649888314807541e7eb4d4b7521558192f # Parent 3bbf1ad850f04e9c2118024208b69bbc6239b92f chg: scale the timeout in test with the rest This should avoid some flakiness where the logs reports server shutting down. diff -r 3bbf1ad850f0 -r e45590649888 tests/test-chg.t --- 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