sapling/eden/mononoke/tests/integration/test-priority.t
Thomas Orozco 04f347484b mononoke: allow selecting a priority in hgcli, and passing it to Mononoke
Summary:
This adds the ability to specify a priority in hgcli, and to pass it on to
Mononoke. This will be used to replay commit cloud traffic at a lower priority.

Reviewed By: farnz

Differential Revision: D20038573

fbshipit-source-id: 4055d28ee295e2b15c15945bd3741f6d739ead3a
2020-03-11 08:54:51 -07:00

23 lines
661 B
Perl

# Copyright (c) Facebook, Inc. and its affiliates.
#
# This software may be used and distributed according to the terms of the
# GNU General Public License found in the LICENSE file in the root
# directory of this source tree.
$ . "${TEST_FIXTURES}/library.sh"
Setup configuration
$ BLOB_TYPE="blob_files" MONONOKE_HGCLI_PRIORITY=wishlist quiet default_setup
Check that priority is passed over
$ hgmn pull
pulling from ssh://user@dummy/repo
remote: Using priority: Wishlist
searching for changes
no changes found
adding changesets
devel-warn: * (glob)
adding manifests
adding file changes
added 0 changesets with 0 changes to 0 files