changeset 25356:d49328038b38

test: explicitly test wire protocol discovery with bundle1 and bundle2 We want to make sure the behavior is similar in both cases.
author Pierre-Yves David <pierre-yves.david@fb.com>
date Wed, 27 May 2015 06:35:34 -0700
parents 53071142c7d7
children efa2621c2859
files tests/test-phases-exchange.t
diffstat 1 files changed, 10 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/tests/test-phases-exchange.t	Wed May 27 06:37:56 2015 -0700
+++ b/tests/test-phases-exchange.t	Wed May 27 06:35:34 2015 -0700
@@ -1048,7 +1048,16 @@
   $ cat ../beta.pid >> $DAEMON_PIDS
   $ cd ../gamma
 
-  $ hg pull http://localhost:$HGPORT/
+  $ hg pull http://localhost:$HGPORT/ --config experimental.bundle2-exp=True
+  pulling from http://localhost:$HGPORT/
+  searching for changes
+  no changes found
+  $ hg phase f54f1bb90ff3
+  2: draft
+
+enforce bundle1
+
+  $ hg pull http://localhost:$HGPORT/ --config experimental.bundle2-exp=False
   pulling from http://localhost:$HGPORT/
   searching for changes
   no changes found