Skip to content
Snippets Groups Projects
Commit 3c517a81 authored by nchammas's avatar nchammas Committed by Patrick Wendell
Browse files

[Spark QA] Link to console output on test time out

When tests time out we should link to the Jenkins console output for easy review. We already do this for when tests start or complete normally.

Here's [a recent example](https://github.com/apache/spark/pull/2109#issuecomment-53374032) of where this would be helpful.

Author: nchammas <nicholas.chammas@gmail.com>

Closes #2140 from nchammas/patch-1 and squashes the following commits:

3b26c8d [nchammas] [Spark QA] Link to console output on test time out
parent a46b8f2d
No related branches found
No related tags found
No related merge requests found
...@@ -138,7 +138,7 @@ function post_message () { ...@@ -138,7 +138,7 @@ function post_message () {
test_result="$?" test_result="$?"
if [ "$test_result" -eq "124" ]; then if [ "$test_result" -eq "124" ]; then
fail_message="**Tests timed out** after a configured wait of \`${TESTS_TIMEOUT}\`." fail_message="**[Tests timed out](${BUILD_URL}consoleFull)** after a configured wait of \`${TESTS_TIMEOUT}\`."
post_message "$fail_message" post_message "$fail_message"
exit $test_result exit $test_result
else else
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment