changeset 5045:c9b25b1d6a61

tests: test that debugpullbundlecacheoverlap command works
author Anton Shestakov <av6@dwimlabs.net>
date Thu, 19 Dec 2019 18:16:18 +0700
parents b9179a034005
children ebd0f5c6098f
files tests/test-pullbundle.t
diffstat 1 files changed, 11 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- 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: