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

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

commit 71ef64f9afab3472f0372415c13f1bc2b14b00cc
Author: Timo Walther <twal...@apache.org>
AuthorDate: Tue Nov 17 16:07:20 2020 +0100

    [FLINK-17424][e2e] Adopt download strategy of Kafka tests in Elasticsearch 
tests
    
    This closes #14106.
---
 flink-end-to-end-tests/test-scripts/elasticsearch-common.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/flink-end-to-end-tests/test-scripts/elasticsearch-common.sh 
b/flink-end-to-end-tests/test-scripts/elasticsearch-common.sh
index 0c23526..0d2e83e 100644
--- a/flink-end-to-end-tests/test-scripts/elasticsearch-common.sh
+++ b/flink-end-to-end-tests/test-scripts/elasticsearch-common.sh
@@ -35,7 +35,7 @@ function setup_elasticsearch {
 
     # start downloading Elasticsearch
     echo "Downloading Elasticsearch from $downloadUrl ..."
-    curl "$downloadUrl" > $TEST_DATA_DIR/elasticsearch.tar.gz
+    curl "$downloadUrl" --retry 10 --retry-max-time 120 --output 
$TEST_DATA_DIR/elasticsearch.tar.gz
 
     local elasticsearchDir=$TEST_DATA_DIR/elasticsearch
     mkdir -p $elasticsearchDir

Reply via email to