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

snuyanzin pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/flink.git


The following commit(s) were added to refs/heads/master by this push:
     new d3c9a1ac762 [FLINK-38700][python] Fix kubernetes pyflink application 
test
d3c9a1ac762 is described below

commit d3c9a1ac762ed1e555512ddc0f0aa65d73ace2cd
Author: Dian Fu <[email protected]>
AuthorDate: Thu Nov 20 22:42:26 2025 +0800

    [FLINK-38700][python] Fix kubernetes pyflink application test
    
    
    
    ---------
    
    Co-authored-by: Sergey Nuyanzin <[email protected]>
---
 .../test-scripts/test_kubernetes_pyflink_application.sh                 | 2 ++
 1 file changed, 2 insertions(+)

diff --git 
a/flink-end-to-end-tests/test-scripts/test_kubernetes_pyflink_application.sh 
b/flink-end-to-end-tests/test-scripts/test_kubernetes_pyflink_application.sh
index 389ee33b792..da93a77c71f 100755
--- a/flink-end-to-end-tests/test-scripts/test_kubernetes_pyflink_application.sh
+++ b/flink-end-to-end-tests/test-scripts/test_kubernetes_pyflink_application.sh
@@ -80,7 +80,9 @@ cp "${FLINK_PYTHON_DIR}/pyproject.toml" $PYFLINK_DOCKER_DIR/
 if [[ -d "dist" ]]; then rm -Rf dist; fi
 cd ${PYFLINK_DOCKER_DIR}
 echo "FROM ${PURE_FLINK_IMAGE_NAME}" >> Dockerfile
+echo "USER root" >> Dockerfile
 echo "RUN apt-get update && apt-get install build-essential -y" >> Dockerfile
+echo "USER flink" >> Dockerfile
 echo "COPY lint-python.sh /tmp/lint-python.sh" >> Dockerfile
 echo "COPY pyproject.toml /tmp/pyproject.toml" >> Dockerfile
 echo "RUN bash /tmp/lint-python.sh -s basic" >> Dockerfile

Reply via email to