Skip to content

Commit

Permalink
HDDS-4153. Increase default timeout in kubernetes tests (apache#1357)
Browse files Browse the repository at this point in the history
  • Loading branch information
elek authored and rakeshadr committed Sep 3, 2020
1 parent be111fc commit 64c4500
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions hadoop-ozone/dist/src/main/k8s/examples/testlib.sh
Expand Up @@ -17,14 +17,14 @@

retry() {
n=0
until [ $n -ge 30 ]
until [ $n -ge 100 ]
do
"$@" && break
n=$[$n+1]
echo "$n '$@' is failed..."
sleep ${RETRY_SLEEP:-3}
done
if [ $n -eq 30 ]; then
if [ $n -eq 100 ]; then
return 255
fi
}
Expand Down

0 comments on commit 64c4500

Please sign in to comment.