From 10924ce8ed92a18a5c60ec354007d3b499e3189c Mon Sep 17 00:00:00 2001 From: Karl Skomski Date: Wed, 2 Sep 2015 10:13:01 +0200 Subject: [PATCH] test: report timeout in TapReporter MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Be slightly more verbose in cases where tests time out. PR-URL: https://github.com/nodejs/node/pull/2647 Reviewed-By: Johan Bergström Reviewed-By: Rod Vagg Reviewed-By: Sakthipriyan Vairamani --- tools/test.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/tools/test.py b/tools/test.py index 59a31bf1cfabe4..26b70233d53f85 100755 --- a/tools/test.py +++ b/tools/test.py @@ -263,6 +263,10 @@ def HasRun(self, output): if FLAKY in output.test.outcomes and self.flaky_tests_mode == DONTCARE: status_line = status_line + ' # TODO : Fix flaky test' logger.info(status_line) + + if output.HasTimedOut(): + logger.info('# TIMEOUT') + for l in output.output.stderr.splitlines(): logger.info('#' + l) for l in output.output.stdout.splitlines():