summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xdeploy_vm1.sh6
-rwxr-xr-xdeploy_vm2.sh6
2 files changed, 6 insertions, 6 deletions
diff --git a/deploy_vm1.sh b/deploy_vm1.sh
index 278cfd3..5813119 100755
--- a/deploy_vm1.sh
+++ b/deploy_vm1.sh
@@ -68,7 +68,7 @@ function wait_for_container() {
CONTAINER_NAME="$1";
START_TEXT="$2";
- TIMEOUT=360
+ TIMEOUT=600
# wait for the real startup
AMOUNT_STARTUP=$(docker logs ${CONTAINER_NAME} 2>&1 | grep "$START_TEXT" | wc -l)
@@ -81,8 +81,8 @@ function wait_for_container() {
echo "ERROR: $CONTAINER_NAME deployment failed."
exit 1
fi
- let TIMEOUT-=1
- sleep 1
+ let TIMEOUT-=5
+ sleep 5
done
}
diff --git a/deploy_vm2.sh b/deploy_vm2.sh
index f790c35..3589e1c 100755
--- a/deploy_vm2.sh
+++ b/deploy_vm2.sh
@@ -16,7 +16,7 @@ function wait_for_container() {
CONTAINER_NAME="$1";
START_TEXT="$2";
- TIMEOUT=160
+ TIMEOUT=600
# wait for the real startup
AMOUNT_STARTUP=$(docker logs ${CONTAINER_NAME} 2>&1 | grep "$START_TEXT" | wc -l)
@@ -29,8 +29,8 @@ function wait_for_container() {
echo "ERROR: $CONTAINER_NAME deployment failed."
exit 1
fi
- let TIMEOUT-=1
- sleep 1
+ let TIMEOUT-=5
+ sleep 5
done
}