diff tests/test-http-bundle1.t @ 52720:ca17d31624ac

stream: report number of file written then information is available Strictly speaking we could also do that for v1, but that is old enough that I don't want to bother.
author Pierre-Yves David <pierre-yves.david@octobus.net>
date Thu, 28 Nov 2024 11:05:16 +0100
parents dcaa2df1f688
children 4d2b496cb7b8
line wrap: on
line diff
--- a/tests/test-http-bundle1.t	Thu Nov 28 11:05:07 2024 +0100
+++ b/tests/test-http-bundle1.t	Thu Nov 28 11:05:16 2024 +0100
@@ -38,10 +38,8 @@
 #if no-reposimplestore
   $ hg clone --stream http://localhost:$HGPORT/ copy 2>&1
   streaming all changes
-  7 files to transfer, 606 bytes of data (no-zstd !)
-  7 files to transfer, 608 bytes of data (zstd no-rust !)
-  9 files to transfer, 734 bytes of data (zstd rust !)
-  transferred * bytes in * seconds (*/sec) (glob)
+  * files to transfer, * bytes of data (glob)
+  stream-cloned * files / * bytes in * seconds (*/sec) (glob)
   searching for changes
   no changes found
   updating to branch default
@@ -219,10 +217,8 @@
 #if no-reposimplestore
   $ hg clone http://user:pass@localhost:$HGPORT2/ dest 2>&1
   streaming all changes
-  8 files to transfer, 916 bytes of data (no-zstd !)
-  8 files to transfer, 919 bytes of data (zstd no-rust !)
-  10 files to transfer, 1.02 KB of data (zstd rust !)
-  transferred * in * seconds (*/sec) (glob)
+  * files to transfer, * of data (glob)
+  stream-cloned * files / * in * seconds (*/sec) (glob)
   searching for changes
   no changes found
   updating to branch default
@@ -379,9 +375,7 @@
   $ hg clone --stream --noupdate http://localhost:$HGPORT1/ test-stream-clone
   streaming all changes
   * files to transfer, * of data (glob)
-  transferred 1.36 KB in * seconds (* */sec) (glob) (no-zstd !)
-  transferred 1.38 KB in * seconds (* */sec) (glob) (zstd no-rust !)
-  transferred 1.56 KB in * seconds (* */sec) (glob) (zstd rust !)
+  stream-cloned * files / * KB in * seconds (* */sec) (glob)
   searching for changes
   no changes found
 #endif