|
...
|
...
|
@@ -90,7 +90,7 @@ if [[ "$ENABLED_SERVICES" =~ "c-vol" ]]; then
|
|
90
|
90
|
die_if_not_set VOLUME "Failure to get volume"
|
|
91
|
91
|
|
|
92
|
92
|
# Test volume has become available
|
|
93
|
|
- if ! timeout $ASSOCIATE_TIMEOUT sh -c "while ! euca-describe-volumes $VOLUME | grep -q available; do sleep 1; done"; then
|
|
|
93
|
+ if ! timeout $RUNNING_TIMEOUT sh -c "while ! euca-describe-volumes $VOLUME | grep -q available; do sleep 1; done"; then
|
|
94
|
94
|
echo "volume didnt become available within $RUNNING_TIMEOUT seconds"
|
|
95
|
95
|
exit 1
|
|
96
|
96
|
fi
|