# HG changeset patch # User Boris Feld # Date 1541983283 -3600 # Node ID 8aa7879adacfccc22702773354e213d422f6b3b8 # Parent 0d62c3149fb9943a7c2518e3f47ea0161d37b993 test: explicitly disable sparse-revlog in test-http-bad-server.t The `test-http-bad-server.t` test is very fragile with hard-coded number all around. Adding any new capability have massive consequences on it that are long and tiresome to handle. Since the test check more generic protocol level behavior, it does not need to follow all new capabilities. Disabling the capabilities is a much simpler way to avoid the issue. We make sure `sparse-revlog` will not impact this test once turned on by default. Differential Revision: https://phab.mercurial-scm.org/D5313 diff -r 0d62c3149fb9 -r 8aa7879adacf tests/test-http-bad-server.t --- a/tests/test-http-bad-server.t Mon Nov 12 01:40:33 2018 +0100 +++ b/tests/test-http-bad-server.t Mon Nov 12 01:41:23 2018 +0100 @@ -11,6 +11,8 @@ $ cat >> $HGRCPATH << EOF > [extensions] > fakeversion = `pwd`/fakeversion.py + > [format] + > sparse-revlog = no > [devel] > legacy.exchange = phases > EOF