test: explicitly disable sparse-revlog in test-http-bad-server.t
authorBoris Feld <boris.feld@octobus.net>
Mon, 12 Nov 2018 01:41:23 +0100
changeset 40886 8aa7879adacf
parent 40885 0d62c3149fb9
child 40887 75728718257e
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
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