From 798abeaf1c72268e5a4ed6d9af78626f082e3130 Mon Sep 17 00:00:00 2001 From: Thomas Stromberg Date: Thu, 9 Apr 2020 17:38:37 -0700 Subject: [PATCH] Increase libmachine timeout to 5 minutes --- pkg/minikube/machine/start.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkg/minikube/machine/start.go b/pkg/minikube/machine/start.go index e42fc9cf62..4ccfc03edb 100644 --- a/pkg/minikube/machine/start.go +++ b/pkg/minikube/machine/start.go @@ -141,8 +141,8 @@ func createHost(api libmachine.API, cfg config.ClusterConfig, n config.Node) (*h cstart := time.Now() glog.Infof("libmachine.API.Create for %q (driver=%q)", cfg.Name, cfg.Driver) - // Allow two minutes to create host before failing fast - if err := timedCreateHost(h, api, 2*time.Minute); err != nil { + + if err := timedCreateHost(h, api, 5*time.Minute); err != nil { return nil, errors.Wrap(err, "creating host") } glog.Infof("libmachine.API.Create for %q took %s", cfg.Name, time.Since(cstart))