tillrohrmann commented on a change in pull request #10742: [FLINK-15442] Harden
the Avro Confluent Schema Registry nightly end-to-end test
URL: https://github.com/apache/flink/pull/10742#discussion_r363354663
##########
File path: flink-end-to-end-tests/test-scripts/kafka-common.sh
##########
@@ -36,7 +36,7 @@ function setup_kafka_dist {
mkdir -p $TEST_DATA_DIR
KAFKA_URL="https://archive.apache.org/dist/kafka/$KAFKA_VERSION/kafka_2.11-$KAFKA_VERSION.tgz"
echo "Downloading Kafka from $KAFKA_URL"
- curl "$KAFKA_URL" --retry 10 --retry-max-time 120 > $TEST_DATA_DIR/kafka.tgz
+ retry_times 5 0 "curl ${KAFKA_URL} --retry 10 --retry-max-time 120 --output
${TEST_DATA_DIR}/kafka.tgz"
Review comment:
Weren't we already retrying the curl command by setting `--retry 10`?
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services