Skip to content

Commit bcd0729

Browse files
committed
requested changes
1 parent 8c565dc commit bcd0729

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

scripts/ci/manage-devsandbox-dashboard.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -177,10 +177,10 @@ if [[ ${DEPLOY_UI} == "true" ]]; then
177177
HOST_NS=$(oc get projects -l app=host-operator --output=name -o jsonpath='{range .items[*]}{.metadata.name}{"\n"}{end}' | sort | tail -n 1)
178178

179179
# Wait for registration-service deployment to be created
180-
TIMEOUT=150 # 5 minutes in 2-second intervals
180+
MAX_ITERATIONS=150 # 5 minutes in 2-second intervals
181181
COUNTER=0
182182
while ! oc get deployment/registration-service -n ${HOST_NS} &>/dev/null; do
183-
if [[ $COUNTER -ge $TIMEOUT ]]; then
183+
if [[ $COUNTER -ge $MAX_ITERATIONS ]]; then
184184
echo "ERROR: registration-service was not created after 5m"
185185
echo "Available deployments in ${HOST_NS}:"
186186
oc get deployments -n ${HOST_NS}

0 commit comments

Comments
 (0)