diff --git a/tests/test-pull-http.t b/tests/test-pull-http.t
--- a/tests/test-pull-http.t
+++ b/tests/test-pull-http.t
@@ -48,7 +48,11 @@ expect error, cloning not allowed
   $ echo 'allowpull = false' >> .hg/hgrc
   $ hg serve -p $HGPORT -d --pid-file=hg.pid -E errors.log
   $ cat hg.pid >> $DAEMON_PIDS
-  $ hg clone http://localhost:$HGPORT/ test4
+  $ hg clone http://localhost:$HGPORT/ test4 --config experimental.bundle2-exp=True
+  requesting all changes
+  abort: authorization failed
+  [255]
+  $ hg clone http://localhost:$HGPORT/ test4 --config experimental.bundle2-exp=False
   abort: authorization failed
   [255]
   $ "$TESTDIR/killdaemons.py" $DAEMON_PIDS