Skip to content

Commit

Permalink
Increase connection timeout to 5 minutes for CI
Browse files Browse the repository at this point in the history
If kubernetes starts on vagrant boot, it can take more than two minutes
until the cluster is ready.

Signed-off-by: Roman Mohr <[email protected]>
  • Loading branch information
rmohr committed Dec 13, 2017
1 parent 83f5440 commit c9334fd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion automation/test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ cluster/kubectl.sh --init

# Make sure we can connect to kubernetes
export APISERVER=$(cat cluster/vagrant/.kubeconfig | grep server | sed -e 's# \+server: https://##' | sed -e 's/\r//')
$WORKSPACE/dockerize -wait tcp://$APISERVER -timeout 120s
$WORKSPACE/dockerize -wait tcp://$APISERVER -timeout 300s
# Make sure we don't try to talk to Vagrant host via a proxy
export no_proxy="${APISERVER%:*}"

Expand Down

0 comments on commit c9334fd

Please sign in to comment.