Skip to content

Commit 9c702e4

Browse files
author
Richard Kuo (Onyx)
committed
increase retries to 40
1 parent 1a0520f commit 9c702e4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

deployment/helm/charts/onyx/templates/tests/test-connection.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,11 +15,11 @@ spec:
1515
- -c
1616
args:
1717
- |
18-
for i in $(seq 1 20); do
18+
for i in $(seq 1 40); do
1919
echo "Attempt $i: wget {{ include "onyx-stack.fullname" . }}-webserver:{{ .Values.webserver.service.servicePort }}"
2020
wget {{ include "onyx-stack.fullname" . }}-webserver:{{ .Values.webserver.service.servicePort }} && exit 0
2121
sleep 15
2222
done
23-
echo "Service unavailable after 20 attempts"
23+
echo "Service unavailable after 40 attempts"
2424
exit 1
2525
restartPolicy: Never

0 commit comments

Comments
 (0)