changeset 40886:8aa7879adacf

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
author Boris Feld <boris.feld@octobus.net>
date Mon, 12 Nov 2018 01:41:23 +0100
parents 0d62c3149fb9
children 75728718257e
files tests/test-http-bad-server.t
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- 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