Skip to content
This repository was archived by the owner on Jun 20, 2024. It is now read-only.

Commit

Permalink
Increased timeout for test #840.
Browse files Browse the repository at this point in the history
Reason: test is periodically failing because of the timeout being too aggressive, especially when using Google Cloud Platform together with Terraform and Ansible.
  • Loading branch information
marccarre committed Feb 1, 2017
1 parent 18a8433 commit b21371f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/840_weave_kube_3_test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down

0 comments on commit b21371f

Please sign in to comment.