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
--- 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