You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@flink.apache.org by ar...@apache.org on 2021/12/01 09:36:04 UTC

[flink] branch master updated: [FLINK-25093][tests] Refactor test to use retry function for cloning Flink docker repo

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

arvid 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 183d320  [FLINK-25093][tests] Refactor test to use retry function for cloning Flink docker repo
183d320 is described below

commit 183d32035150457cc009dacda93788075e523967
Author: martijnvisser <ma...@2symbols.com>
AuthorDate: Mon Nov 29 10:46:57 2021 +0100

    [FLINK-25093][tests] Refactor test to use retry function for cloning Flink docker repo
---
 flink-end-to-end-tests/test-scripts/common_docker.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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 cc4010a..c7c9bb5 100644
--- a/flink-end-to-end-tests/test-scripts/common_docker.sh
+++ b/flink-end-to-end-tests/test-scripts/common_docker.sh
@@ -48,7 +48,7 @@ function build_image() {
     local server_pid=$!
 
     echo "Preparing Dockeriles"
-    git clone https://github.com/apache/flink-docker.git --branch dev-master --single-branch
+    retry_times_with_exponential_backoff 5 git clone https://github.com/apache/flink-docker.git --branch dev-master --single-branch
     cd flink-docker
     ./add-custom.sh -u ${file_server_address}:9999/flink.tgz -n ${image_name}