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_r363747647
########## File path: flink-end-to-end-tests/test-scripts/common.sh ########## @@ -748,7 +748,7 @@ function retry_times_with_backoff_and_cleanup() { local command="$3" local cleanup_command="$4" - for (( i = 0; i < ${retriesNumber}; i++ )) + for i in $(seq 1 ${retriesNumber}) Review comment: I tried to reproduce the problem via ``` for i in {1..30}; do echo $i done for (( i = 0; i < 10; i++ )) do echo $i done ``` When I execute this, then 1..30 and 0..9 will be printed. Hence, I'm not sure I really understand the problem you are describing. Could you provide me an example script to reproduce the problem with the old for loop? ---------------------------------------------------------------- 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: us...@infra.apache.org With regards, Apache Git Services