tests: test that debugpullbundlecacheoverlap command works
authorAnton Shestakov <av6@dwimlabs.net>
Thu, 19 Dec 2019 18:16:18 +0700
changeset 5045 c9b25b1d6a61
parent 5044 b9179a034005
child 5046 ebd0f5c6098f
tests: test that debugpullbundlecacheoverlap command works
tests/test-pullbundle.t
--- a/tests/test-pullbundle.t	Thu Dec 19 18:02:31 2019 +0700
+++ b/tests/test-pullbundle.t	Thu Dec 19 18:16:18 2019 +0700
@@ -1158,3 +1158,14 @@
   02-e469a7aa5cce57653b6b02ff46c80b2d94d62629-0000000912skip-0000000016size.hg
   02-e74670ea99533967c5d90da3ddbc0318cc1fd502-0000001280skip-0000000256size.hg
   02-fb6c210a224903e81e5a8d2ee099cb0c9526ba8c-0000001512skip-0000000004size.hg
+
+  $ hg debugpullbundlecacheoverlap -R server 'all()' | grep -v '^  '
+  gathering 100 sample pulls within 2131 revisions
+  pull size:
+  non-cached changesets:
+  ratio of cached changesets:
+  bundle count:
+  ratio of cached bundles:
+  changesets served:
+  size of cached bundles:
+  hit on cached bundles: