Skip to content

Commit

Permalink
[FLINK-9946][tests] Expose Flink version to E2E tests
Browse files Browse the repository at this point in the history
  • Loading branch information
zentol committed Aug 1, 2018
1 parent 891d3a3 commit 7397f31
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions flink-end-to-end-tests/test-scripts/common.sh
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,8 @@ export EXIT_CODE=0

echo "Flink dist directory: $FLINK_DIR"

FLINK_VERSION=$(cat ${END_TO_END_DIR}/pom.xml | sed -n 's/.*<version>\(.*\)<\/version>/\1/p')

USE_SSL=OFF # set via set_conf_ssl(), reset via revert_default_config()
TEST_ROOT=`pwd -P`
TEST_INFRA_DIR="$END_TO_END_DIR/test-scripts/"
Expand Down
2 changes: 1 addition & 1 deletion flink-end-to-end-tests/test-scripts/test_quickstarts.sh
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ ARTIFACT_VERSION=0.1
mvn archetype:generate \
-DarchetypeGroupId=org.apache.flink \
-DarchetypeArtifactId=flink-quickstart-${TEST_TYPE} \
-DarchetypeVersion=1.7-SNAPSHOT \
-DarchetypeVersion=${FLINK_VERSION} \
-DgroupId=org.apache.flink.quickstart \
-DartifactId=${ARTIFACT_ID} \
-Dversion=${ARTIFACT_VERSION} \
Expand Down

0 comments on commit 7397f31

Please sign in to comment.