stream-clone-test: drop an automatic pattern replacement
authorPierre-Yves David <pierre-yves.david@octobus.net>
Fri, 08 Mar 2024 10:50:42 +0100
changeset 51475 e3ed64dfd8ff
parent 51474 b0d08bdc6a60
child 51476 715be2690d28
stream-clone-test: drop an automatic pattern replacement That pattern is nice, but it prevent us to glob the number of bytes when we don't care about them. We don't care about them more often that what we currently checks so dropping this pattern will help use to simplify various tests.
tests/common-pattern.py
--- a/tests/common-pattern.py	Wed Feb 28 22:15:33 2024 +0100
+++ b/tests/common-pattern.py	Fri Mar 08 10:50:42 2024 +0100
@@ -114,14 +114,6 @@
         br'(.*file:/)/?(/\$TESTTMP.*)',
         lambda m: m.group(1) + b'*' + m.group(2) + b' (glob)',
     ),
-    # `hg clone --stream` output
-    (
-        br'transferred (\S+?) KB in \S+? seconds \(.+?/sec\)(?: \(glob\))?(.*)',
-        lambda m: (
-            br'transferred %s KB in * seconds (* */sec) (glob)%s'
-            % (m.group(1), m.group(2))
-        ),
-    ),
     # `discovery debug output
     (
         br'\b(\d+) total queries in \d.\d\d\d\ds\b',