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

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


The following commit(s) were added to refs/heads/release-1.18 by this push:
     new 371d9ab2f88 [FLINK-33369] Use Java 17 docker image for e2e tests on 
Java 17
371d9ab2f88 is described below

commit 371d9ab2f88e977b3ad0d80faacd466828b31272
Author: Chesnay Schepler <ches...@apache.org>
AuthorDate: Fri Oct 27 10:23:42 2023 +0200

    [FLINK-33369] Use Java 17 docker image for e2e tests on Java 17
---
 flink-end-to-end-tests/test-scripts/common_docker.sh | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/flink-end-to-end-tests/test-scripts/common_docker.sh 
b/flink-end-to-end-tests/test-scripts/common_docker.sh
index 462ea3f4e9d..d37d1cc9e5c 100644
--- a/flink-end-to-end-tests/test-scripts/common_docker.sh
+++ b/flink-end-to-end-tests/test-scripts/common_docker.sh
@@ -54,6 +54,9 @@ function build_image() {
     if [[ ${PROFILE} == *"jdk11"* ]]; then
         java_version=11
     fi
+    if [[ ${PROFILE} == *"jdk17"* ]]; then
+        java_version=17
+    fi
 
     cd flink-docker
     ./add-custom.sh -u ${file_server_address}:9999/flink.tgz -n ${image_name} 
-j ${java_version}

Reply via email to