flink-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ches...@apache.org
Subject [7/8] flink git commit: [FLINK-7256] [travis] Only run end-to-end tests if no previous error occurred
Date Tue, 25 Jul 2017 11:31:23 GMT
[FLINK-7256] [travis] Only run end-to-end tests if no previous error occurred

This closes #4390.


Project: http://git-wip-us.apache.org/repos/asf/flink/repo
Commit: http://git-wip-us.apache.org/repos/asf/flink/commit/e5dad7fc
Tree: http://git-wip-us.apache.org/repos/asf/flink/tree/e5dad7fc
Diff: http://git-wip-us.apache.org/repos/asf/flink/diff/e5dad7fc

Branch: refs/heads/master
Commit: e5dad7fc8b9a15c667fe8cd31c65a3ed78868612
Parents: 788d945
Author: zentol <chesnay@apache.org>
Authored: Mon Jul 24 15:11:30 2017 +0200
Committer: zentol <chesnay@apache.org>
Committed: Tue Jul 25 11:27:56 2017 +0200

----------------------------------------------------------------------
 tools/travis_mvn_watchdog.sh | 16 +++++++++++-----
 1 file changed, 11 insertions(+), 5 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flink/blob/e5dad7fc/tools/travis_mvn_watchdog.sh
----------------------------------------------------------------------
diff --git a/tools/travis_mvn_watchdog.sh b/tools/travis_mvn_watchdog.sh
index c2a51a5..724dc35 100755
--- a/tools/travis_mvn_watchdog.sh
+++ b/tools/travis_mvn_watchdog.sh
@@ -402,12 +402,18 @@ cd ../../
 # only run end-to-end tests in misc because we only have flink-dist here
 case $TEST in
 	(misc)
-        echo "Running automated end-to-end tests"
+		if [ $EXIT_CODE == 0 ]; then
+			echo "Running automated end-to-end tests"
 
-        test-infra/end-to-end-test/test_batch_wordcount.sh build-target cluster
-        EXIT_CODE=$(($EXIT_CODE+$?))
-        test-infra/end-to-end-test/test_streaming_kafka010.sh build-target cluster
-        EXIT_CODE=$(($EXIT_CODE+$?))
+			test-infra/end-to-end-test/test_batch_wordcount.sh build-target cluster
+			EXIT_CODE=$(($EXIT_CODE+$?))
+			test-infra/end-to-end-test/test_streaming_kafka010.sh build-target cluster
+			EXIT_CODE=$(($EXIT_CODE+$?))
+		else
+			echo "=============================================================================="
+			echo "Previous build failure detected, skipping end-to-end tests."
+			echo "=============================================================================="
+		fi
 	;;
 esac
 


Mime
View raw message