[Updated] D12039: test-http-bad-server: align output by using `;`

marmoute (Pierre-Yves David) phabricator at mercurial-scm.org
Tue Jan 25 09:18:17 UTC 2022


Closed by commit rHGf87b632406a9: test-http-bad-server: align output by using `;` (authored by marmoute).
This revision was automatically updated to reflect the committed changes.

REPOSITORY
  rHG Mercurial

CHANGES SINCE LAST UPDATE
  https://phab.mercurial-scm.org/D12039?vs=31742&id=31915

CHANGES SINCE LAST ACTION
  https://phab.mercurial-scm.org/D12039/new/

REVISION DETAIL
  https://phab.mercurial-scm.org/D12039

AFFECTED FILES
  tests/test-http-bad-server.t
  tests/testlib/badserverext.py

CHANGE DETAILS

diff --git a/tests/testlib/badserverext.py b/tests/testlib/badserverext.py
--- a/tests/testlib/badserverext.py
+++ b/tests/testlib/badserverext.py
@@ -230,7 +230,7 @@
         object.__setattr__(self, '_closeafterrecvbytes', remaining)
 
         if remaining <= 0:
-            self._writelog(b'read limit reached, closing socket')
+            self._writelog(b'read limit reached; closing socket')
             self._close()
 
             # This is the easiest way to abort the current request.
diff --git a/tests/test-http-bad-server.t b/tests/test-http-bad-server.t
--- a/tests/test-http-bad-server.t
+++ b/tests/test-http-bad-server.t
@@ -266,7 +266,7 @@
   readline(* from *) -> (49) user-agent: mercurial/proto-1.0 (Mercurial 4.2)\r\n (glob)
   readline(* from *) -> (2) \r\n (glob)
   read(* from 28) -> (*) cmds=* (glob)
-  read limit reached, closing socket
+  read limit reached; closing socket
   $LOCALIP - - [$ERRDATE$] Exception happened during processing request '/?cmd=batch': (glob)
   Traceback (most recent call last):
   Exception: connection closed after receiving N bytes



To: marmoute, #hg-reviewers, Alphare
Cc: mercurial-patches
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mercurial-scm.org/pipermail/mercurial-patches/attachments/20220125/457c7529/attachment-0002.html>


More information about the Mercurial-patches mailing list