You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@flink.apache.org by ch...@apache.org on 2019/01/17 14:11:03 UTC

[flink] branch cron-master-jdk9 updated: Disable flink-tests

This is an automated email from the ASF dual-hosted git repository.

chesnay pushed a commit to branch cron-master-jdk9
in repository https://gitbox.apache.org/repos/asf/flink.git


The following commit(s) were added to refs/heads/cron-master-jdk9 by this push:
     new 08446df  Disable flink-tests
08446df is described below

commit 08446df3e17bee80cfb4a6887efbba6e8a592c30
Author: zentol <ch...@apache.org>
AuthorDate: Thu Jan 17 15:10:50 2019 +0100

    Disable flink-tests
---
 tools/travis/stage.sh      | 5 -----
 tools/travis_controller.sh | 5 +++++
 2 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/tools/travis/stage.sh b/tools/travis/stage.sh
index 1d79892..ce1f34b 100644
--- a/tools/travis/stage.sh
+++ b/tools/travis/stage.sh
@@ -96,11 +96,6 @@ MODULES_EXCLUDE_FAILING="\
 !flink-formats/flink-avro,\
 !flink-scala-shell"
 
-if [[ $STAGE == $STAGE_TESTS ]]; then
-    echo "Skip this stage because none of the tests would pass with Java 9."
-    exit 0
-fi
-
 if [[ ${PROFILE} == *"include-kinesis"* ]]; then
     MODULES_CONNECTORS="$MODULES_CONNECTORS,flink-connectors/flink-connector-kinesis"
 fi
diff --git a/tools/travis_controller.sh b/tools/travis_controller.sh
index c4f8b68..4ccdac0 100755
--- a/tools/travis_controller.sh
+++ b/tools/travis_controller.sh
@@ -86,6 +86,11 @@ if [ $? != 0 ]; then
 fi
 echo "Current stage: \"$STAGE\""
 
+if [[ $STAGE == $STAGE_TESTS ]]; then
+    echo "Skip this stage because none of the tests would pass with Java 9."
+    exit 0
+fi
+
 EXIT_CODE=0
 
 git clone --single-branch -b master https://github.com/apache/flink