This is an automated email from the ASF dual-hosted git repository. dwysakowicz pushed a commit to branch release-1.11 in repository https://gitbox.apache.org/repos/asf/flink.git
The following commit(s) were added to refs/heads/release-1.11 by this push: new 4b74c06 [FLINK-20262] Building flink-dist docker image does not work without python2 4b74c06 is described below commit 4b74c060557642945a28a91d2273da141508c4aa Author: Dawid Wysakowicz <dwysakow...@apache.org> AuthorDate: Mon Nov 23 09:44:52 2020 +0100 [FLINK-20262] Building flink-dist docker image does not work without python2 --- flink-end-to-end-tests/test-scripts/common_docker.sh | 2 +- flink-end-to-end-tests/test-scripts/python3_fileserver.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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 4cc3a16..4914011a 100644 --- a/flink-end-to-end-tests/test-scripts/common_docker.sh +++ b/flink-end-to-end-tests/test-scripts/common_docker.sh @@ -63,7 +63,7 @@ function start_file_server() { command -v python3 >/dev/null 2>&1 if [[ $? -eq 0 ]]; then - python ${TEST_INFRA_DIR}/python3_fileserver.py & + python3 ${TEST_INFRA_DIR}/python3_fileserver.py & return fi diff --git a/flink-end-to-end-tests/test-scripts/python3_fileserver.py b/flink-end-to-end-tests/test-scripts/python3_fileserver.py index d9b3345..bfd444e 100644 --- a/flink-end-to-end-tests/test-scripts/python3_fileserver.py +++ b/flink-end-to-end-tests/test-scripts/python3_fileserver.py @@ -22,7 +22,7 @@ import socketserver handler = http.server.SimpleHTTPRequestHandler # azure says that ports are still in use if this is not set -SocketServer.TCPServer.allow_reuse_address = True +socketserver.TCPServer.allow_reuse_address = True httpd = socketserver.TCPServer(("", 9999), handler) try: