Skip to content

Commit 740d956

Browse files
committed
wait a longer time for the pvc bound.
Signed-off-by: galiacheng <haixia.cheng@microsoft.com> Changes to be committed: modified: samples/scripts/common/utility.sh
1 parent 9c59da1 commit 740d956

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

kubernetes/samples/scripts/common/utility.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -191,7 +191,7 @@ function checkPvState {
191191
# $2 - expected state of volume claim
192192
function checkPvcState {
193193
echo "Checking if the persistent volume claim ${1:?} is ${2:?}"
194-
local end_secs=$(SECONDS + 10)
194+
local end_secs=$((SECONDS + 30))
195195
local pvc_state=`kubectl get pvc $1 -o jsonpath='{.status.phase}'`
196196
while [ ! "$pvc_state" = "$2" ] && [ $SECONDS -le $end_secs ]; do
197197
sleep 1

0 commit comments

Comments
 (0)