You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@flink.apache.org by az...@apache.org on 2020/05/06 08:48:12 UTC
[flink] branch release-1.10 updated: [FLINK-17403][test] Fix
invalid classpath in BashJavaUtilsITCase
This is an automated email from the ASF dual-hosted git repository.
azagrebin pushed a commit to branch release-1.10
in repository https://gitbox.apache.org/repos/asf/flink.git
The following commit(s) were added to refs/heads/release-1.10 by this push:
new f99bd71 [FLINK-17403][test] Fix invalid classpath in BashJavaUtilsITCase
f99bd71 is described below
commit f99bd715e7d171a1929471dcfa43e38111f912f9
Author: Paul Lam <pa...@gmail.com>
AuthorDate: Mon Apr 20 19:12:17 2020 +0800
[FLINK-17403][test] Fix invalid classpath in BashJavaUtilsITCase
---
flink-dist/src/test/bin/runBashJavaUtilsCmd.sh | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/flink-dist/src/test/bin/runBashJavaUtilsCmd.sh b/flink-dist/src/test/bin/runBashJavaUtilsCmd.sh
index 5273e78..0f6b31d 100755
--- a/flink-dist/src/test/bin/runBashJavaUtilsCmd.sh
+++ b/flink-dist/src/test/bin/runBashJavaUtilsCmd.sh
@@ -34,9 +34,10 @@ bin=`cd "$bin"; pwd`
FLINK_CONF_DIR=${bin}/../../main/resources
FLINK_TARGET_DIR=${bin}/../../../target
-FLINK_DIST_JAR=`find $FLINK_TARGET_DIR -name 'flink-dist*.jar'`
+FLINK_DIST_JARS=(`find ${FLINK_TARGET_DIR} -maxdepth 1 -name 'flink-dist*.jar'`)
+FLINK_DIST_CLASSPATH=`echo ${FLINK_DIST_JARS[@]} | tr ' ' ':'`
. ${bin}/../../main/flink-bin/bin/config.sh > /dev/null
-output=`runBashJavaUtilsCmd ${COMMAND} ${FLINK_CONF_DIR} "$FLINK_TARGET_DIR/bash-java-utils.jar:$FLINK_DIST_JAR" $DYNAMIC_OPTS`
+output=`runBashJavaUtilsCmd ${COMMAND} ${FLINK_CONF_DIR} "$FLINK_TARGET_DIR/bash-java-utils.jar:${FLINK_DIST_CLASSPATH}" $DYNAMIC_OPTS`
extractExecutionParams "$output"