Patchwork D9949: tests: print the server error log in `test-url-download.t`

login
register
mail settings
Submitter phabricator
Date Feb. 2, 2021, 3:58 p.m.
Message ID <differential-rev-PHID-DREV-sdi77amaagat4fobl2ey-req@mercurial-scm.org>
Download mbox | patch
Permalink /patch/48261/
State Superseded
Headers show

Comments

phabricator - Feb. 2, 2021, 3:58 p.m.
mharbison72 created this revision.
Herald added a reviewer: hg-reviewers.
Herald added a subscriber: mercurial-patches.

REVISION SUMMARY
  There was a stray 500 error in CI, but no additional context to know what the
  issue was.
  
  https://foss.heptapod.net/octobus/mercurial-devel/-/jobs/163093

REPOSITORY
  rHG Mercurial

BRANCH
  default

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

AFFECTED FILES
  tests/test-url-download.t

CHANGE DETAILS




To: mharbison72, #hg-reviewers
Cc: mercurial-patches, mercurial-devel

Patch

diff --git a/tests/test-url-download.t b/tests/test-url-download.t
--- a/tests/test-url-download.t
+++ b/tests/test-url-download.t
@@ -34,6 +34,8 @@ 
   $ hg debugdownload ./null.txt
   1 0000000000000000000000000000000000000000
 
+  $ cat ../error.log
+
 Test largefile URL
 ------------------
 
@@ -66,3 +68,5 @@ 
   $ hg debugdownload "largefile://a57b57b39ee4dc3da1e03526596007f480ecdbe8"
   1 0000000000000000000000000000000000000000
   $ cd ..
+
+  $ cat error.log