Skip to content

Commit

Permalink
Increase time out to 30 s
Browse files Browse the repository at this point in the history
  • Loading branch information
azhao155 committed Dec 21, 2020
1 parent 4e3632c commit 92953d5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/minikube/cmd/docker-env.go
Original file line number Diff line number Diff line change
Expand Up @@ -201,7 +201,7 @@ func mustRestartDockerd(name string, runner command.Runner) {
// verifying apisever using kverify would add code complexity for a rare case.
klog.Warningf("waiting to ensure apisever container is up...")
startTime := time.Now()
if err = WaitForAPIServerProcess(runner, startTime, time.Second*5); err != nil {
if err = WaitForAPIServerProcess(runner, startTime, time.Second*30); err != nil {
exit.Message(reason.RuntimeRestart, `The api server within '{{.name}}' is not up`, out.V{"name": name})
}
}
Expand Down

0 comments on commit 92953d5

Please sign in to comment.