Skip to content

Commit 636a8e6

Browse files
committed
test: set default timeout for examples as 20min
1 parent 118c7d7 commit 636a8e6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

hack/verify-examples.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,9 +21,9 @@ rollout_and_wait() {
2121

2222
APPNAME=$(kubectl apply -f $1 | grep -E "^(:?daemonset|deployment|statefulset|pod)" | awk '{printf $1}')
2323
if [[ -n $(expr "${APPNAME}" : "\(daemonset\|deployment\|statefulset\)" || true) ]]; then
24-
kubectl rollout status $APPNAME --watch --timeout=5m
24+
kubectl rollout status $APPNAME --watch --timeout=20m
2525
else
26-
kubectl wait "${APPNAME}" --for condition=ready --timeout=5m
26+
kubectl wait "${APPNAME}" --for condition=ready --timeout=20m
2727
fi
2828
}
2929

0 commit comments

Comments
 (0)