From 88d1d3d858948d8308a35954fad4c60f62a7a12e Mon Sep 17 00:00:00 2001 From: Marc CARRE Date: Mon, 9 Jan 2017 20:11:18 +0000 Subject: [PATCH] Increased timeout for test #840. Reason: test is periodically failing because of the timeout being too aggressive, especially when using Google Cloud Platform together with Terraform and Ansible. --- test/840_weave_kube_3_test.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/840_weave_kube_3_test.sh b/test/840_weave_kube_3_test.sh index 5703b8ced3..7823f92956 100755 --- a/test/840_weave_kube_3_test.sh +++ b/test/840_weave_kube_3_test.sh @@ -31,7 +31,7 @@ sed -e "s%imagePullPolicy: Always%imagePullPolicy: Never$COVERAGE_ARGS%" "$(dirn sleep 5 wait_for_connections() { - for i in $(seq 1 30); do + for i in $(seq 1 45); do if run_on $HOST1 "curl -sS http://127.0.0.1:6784/status | grep \"$SUCCESS\"" ; then return fi @@ -56,7 +56,7 @@ assert_raises "run_on $HOST3 $PING $HOST2EXPIP" run_on $HOST1 "kubectl run hello --image=weaveworks/hello-world --replicas=3" wait_for_pods() { - for i in $(seq 1 30); do + for i in $(seq 1 45); do if run_on $HOST1 "kubectl get pods | grep 'hello.*Running'" ; then return fi