From 6588df505c85dcb43aa603c79687a406f24c765d Mon Sep 17 00:00:00 2001 From: Matt Clay Date: Fri, 8 Mar 2019 20:39:17 -0800 Subject: [PATCH] Improve display of test timeout message. --- test/runner/lib/test.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/test/runner/lib/test.py b/test/runner/lib/test.py index 857a5b24a26..235de16aab4 100644 --- a/test/runner/lib/test.py +++ b/test/runner/lib/test.py @@ -174,7 +174,11 @@ class TestTimeout(TestResult): :type args: TestConfig """ message = 'Tests were aborted after exceeding the %d minute time limit.' % self.timeout_duration - output = '''One or more of the following situations may be responsible: + + # Include a leading newline to improve readability on Shippable "Tests" tab. + # Without this, the first line becomes indented. + output = ''' +One or more of the following situations may be responsible: - Code changes have resulted in tests that hang or run for an excessive amount of time. - Tests have been added which exceed the time limit when combined with existing tests.