Skip to content

Commit 8f29d95

Browse files
skomskijasnell
authored andcommitted
test: report timeout in TapReporter
Be slightly more verbose in cases where tests time out. PR-URL: #2647 Reviewed-By: Johan Bergström <[email protected]> Reviewed-By: Rod Vagg <[email protected]> Reviewed-By: Sakthipriyan Vairamani <[email protected]>
1 parent 365cf22 commit 8f29d95

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

tools/test.py

+4
Original file line numberDiff line numberDiff line change
@@ -263,6 +263,10 @@ def HasRun(self, output):
263263
if FLAKY in output.test.outcomes and self.flaky_tests_mode == DONTCARE:
264264
status_line = status_line + ' # TODO : Fix flaky test'
265265
logger.info(status_line)
266+
267+
if output.HasTimedOut():
268+
logger.info('# TIMEOUT')
269+
266270
for l in output.output.stderr.splitlines():
267271
logger.info('#' + l)
268272
for l in output.output.stdout.splitlines():

0 commit comments

Comments
 (0)