Skip to content

Commit

Permalink
HDDS-4153. Increase default timeout in kubernetes tests (#1357)
Browse files Browse the repository at this point in the history
  • Loading branch information
elek committed Aug 27, 2020
1 parent dcb1c6e commit 2f3edd9
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 2f3edd9

Please sign in to comment.