changeset 46983:e38718838808

streamclone: check the errors log in tests Code can be buggy, in that case having error message tend to help. Differential Revision: https://phab.mercurial-scm.org/D10475
author Pierre-Yves David <pierre-yves.david@octobus.net>
date Mon, 19 Apr 2021 19:09:18 +0200
parents d467bae86b2d
children 99c629101b73
files tests/test-clone-uncompressed.t
diffstat 1 files changed, 3 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/tests/test-clone-uncompressed.t	Tue Apr 20 00:23:56 2021 -0400
+++ b/tests/test-clone-uncompressed.t	Mon Apr 19 19:09:18 2021 +0200
@@ -169,7 +169,7 @@
 
   $ killdaemons.py
   $ cd server
-  $ hg serve -p $HGPORT -d --pid-file=hg.pid
+  $ hg serve -p $HGPORT -d --pid-file=hg.pid --error errors.txt
   $ cat hg.pid > $DAEMON_PIDS
   $ cd ..
 
@@ -184,6 +184,7 @@
   transferred 93.5 KB in * seconds (* */sec) (glob) (zstd !)
   searching for changes
   no changes found
+  $ cat server/errors.txt
 #endif
 #if stream-bundle2
   $ hg clone --stream -U http://localhost:$HGPORT clone1
@@ -205,6 +206,7 @@
   rbc-revs-v1
   tags2
   tags2-served
+  $ cat server/errors.txt
 #endif
 
 getbundle requests with stream=1 are uncompressed