hgserver: glob over bundle type in clonebundles test (bug 1333616); r?glob draft
authorGregory Szorc <gps@mozilla.com>
Mon, 03 Apr 2017 11:21:43 -0700
changeset 10635 629906224c04c4524c39376fd696630d13ce7383
parent 10634 c065d52ae80aef5e7ba516bed200db8b944a8e36
child 10636 b5aeecff399dc71b3bf2171833a46943a7886562
push id1600
push userbmo:gps@mozilla.com
push dateMon, 03 Apr 2017 23:38:00 +0000
reviewersglob
bugs1333616
hgserver: glob over bundle type in clonebundles test (bug 1333616); r?glob Mercurial 4.1 will prefer a zstd bundle over a gzip bundle. Rather than make the test conditional on version, let's just glob out the bundle type. MozReview-Commit-ID: 2FOQXuk5tu6
hgserver/tests/test-clonebundles.t
--- a/hgserver/tests/test-clonebundles.t
+++ b/hgserver/tests/test-clonebundles.t
@@ -93,17 +93,17 @@ Create a clonebundles manifest
   $ hgmo exec hgssh sudo -u hg /var/hg/venv_tools/bin/python /var/hg/version-control-tools/scripts/generate-hg-s3-bundles --no-upload mozilla-central >/dev/null
   $ hgmo exec hgweb0 /var/hg/venv_replication/bin/vcsreplicator-consumer --wait-for-no-lag /etc/mercurial/vcsreplicator.ini
 
 Cloning will fetch bundle
 
 #if hg36+
 
   $ hg --config experimental.clonebundles=true --config ui.clonebundlefallback=true clone -U ${HGWEB_0_URL}mozilla-central clonebundles-no-advertise
-  applying clone bundle from https://hg.cdn.mozilla.net/mozilla-central/77538e1ce4bec5f7aac58a7ceca2da0e38e90a72.gzip.hg
+  applying clone bundle from https://hg.cdn.mozilla.net/mozilla-central/77538e1ce4bec5f7aac58a7ceca2da0e38e90a72.*.hg (glob)
   HTTP error fetching bundle: HTTP Error 403: Forbidden
   falling back to normal clone
   requesting all changes
   adding changesets
   adding manifests
   adding file changes
   added 1 changesets with 1 changes to 1 files