You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@openwhisk.apache.org by ra...@apache.org on 2018/01/11 16:30:52 UTC
[incubator-openwhisk-deploy-kube] branch master updated: Increase
health check timeouts to 10 minutes (#148)
This is an automated email from the ASF dual-hosted git repository.
rabbah pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-openwhisk-deploy-kube.git
The following commit(s) were added to refs/heads/master by this push:
new 69c6719 Increase health check timeouts to 10 minutes (#148)
69c6719 is described below
commit 69c67190e249ecef36030520dea1769b5915b2fd
Author: David Grove <dg...@users.noreply.github.com>
AuthorDate: Thu Jan 11 11:30:51 2018 -0500
Increase health check timeouts to 10 minutes (#148)
Travis CI tests fail semi-regularly due to slow
docker pull operations. Double timeouts to 10
minutes to reduce chance of spurious failures.
---
tools/travis/build.sh | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/tools/travis/build.sh b/tools/travis/build.sh
index d537b19..35cb378 100755
--- a/tools/travis/build.sh
+++ b/tools/travis/build.sh
@@ -11,7 +11,7 @@ couchdbHealthCheck () {
PASSED=false
TIMEOUT=0
- until [ $TIMEOUT -eq 30 ]; do
+ until [ $TIMEOUT -eq 60 ]; do
if [ -n "$(kubectl -n openwhisk logs $POD_NAME | grep "successfully setup and configured CouchDB")" ]; then
PASSED=true
break
@@ -39,7 +39,7 @@ deploymentHealthCheck () {
PASSED=false
TIMEOUT=0
- until $PASSED || [ $TIMEOUT -eq 30 ]; do
+ until $PASSED || [ $TIMEOUT -eq 60 ]; do
KUBE_DEPLOY_STATUS=$(kubectl -n openwhisk get pods -o wide | grep "$1" | awk '{print $3}')
if [ "$KUBE_DEPLOY_STATUS" == "Running" ]; then
PASSED=true
@@ -70,7 +70,7 @@ statefulsetHealthCheck () {
PASSED=false
TIMEOUT=0
- until $PASSED || [ $TIMEOUT -eq 30 ]; do
+ until $PASSED || [ $TIMEOUT -eq 60 ]; do
KUBE_DEPLOY_STATUS=$(kubectl -n openwhisk get pods -o wide | grep "$1"-0 | awk '{print $3}')
if [ "$KUBE_DEPLOY_STATUS" == "Running" ]; then
PASSED=true
@@ -102,7 +102,7 @@ jobHealthCheck () {
PASSED=false
TIMEOUT=0
- until $PASSED || [ $TIMEOUT -eq 30 ]; do
+ until $PASSED || [ $TIMEOUT -eq 60 ]; do
KUBE_SUCCESSFUL_JOB=$(kubectl -n openwhisk get jobs -o wide | grep "$1" | awk '{print $3}')
if [ "$KUBE_SUCCESSFUL_JOB" == "1" ]; then
PASSED=true
--
To stop receiving notification emails like this one, please contact
['"commits@openwhisk.apache.org" <co...@openwhisk.apache.org>'].