Increase libmachine timeout to 5 minutes

pull/7565/head
Thomas Stromberg 2020-04-09 17:38:37 -07:00
parent bab824a830
commit 798abeaf1c
1 changed files with 2 additions and 2 deletions

View File

@ -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))