Patchwork D10394: run-test: make it clearer why we terminating process

login
register
mail settings
Submitter phabricator
Date April 14, 2021, 2:47 p.m.
Message ID <differential-rev-PHID-DREV-bbblhvmrdojy3hdhn5lf-req@mercurial-scm.org>
Download mbox | patch
Permalink /patch/48714/
State Superseded
Headers show

Comments

phabricator - April 14, 2021, 2:47 p.m.
marmoute created this revision.
Herald added a reviewer: hg-reviewers.
Herald added a subscriber: mercurial-patches.

REVISION SUMMARY
  The --verbose log wer only talking about process termination. Now we have more
  information about why.

REPOSITORY
  rHG Mercurial

BRANCH
  default

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

AFFECTED FILES
  tests/run-tests.py

CHANGE DETAILS




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

Patch

diff --git a/tests/run-tests.py b/tests/run-tests.py
--- a/tests/run-tests.py
+++ b/tests/run-tests.py
@@ -301,6 +301,7 @@ 
             while time.time() - start < timeout and p.returncode is None:
                 time.sleep(0.1)
             p.timeout = True
+            vlog('# Timout reached for process %d' % p.pid)
             if p.returncode is None:
                 terminate(p)