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 e479325caf2d01..794f2046cc66b4 100644 --- a/flink-end-to-end-tests/test-scripts/common_docker.sh +++ b/flink-end-to-end-tests/test-scripts/common_docker.sh @@ -35,7 +35,7 @@ function containers_health_check() { function build_image() { local image_name=${1:-flink-job} - local default_file_server_address="172.18.0.2" + local default_file_server_address="localhost" [[ "${OS_TYPE}" != "linux" ]] && default_file_server_address="host.docker.internal" local file_server_address=${2:-${default_file_server_address}} local file_server_port=${3:-"9999"} diff --git a/flink-end-to-end-tests/test-scripts/test_docker_embedded_job.sh b/flink-end-to-end-tests/test-scripts/test_docker_embedded_job.sh index 02c8998a8357ec..80e128f4770b6a 100755 --- a/flink-end-to-end-tests/test-scripts/test_docker_embedded_job.sh +++ b/flink-end-to-end-tests/test-scripts/test_docker_embedded_job.sh @@ -43,7 +43,7 @@ case $INPUT_TYPE in (dummy-fs) source "$(dirname "$0")"/common_dummy_fs.sh dummy_fs_setup - INPUT_ARGS="--input dummy://172.18.0.2/words --input anotherDummy://172.18.0.2/words" + INPUT_ARGS="--input dummy://localhost/words --input anotherDummy://localhost/words" RESULT_HASH="0e5bd0a3dd7d5a7110aa85ff70adb54b" ;; (*)