Merge pull request #7565 from tstromberg/fail-slower

Increase host creation timeout
pull/7735/head
Medya Ghazizadeh 2020-04-16 14:18:01 -07:00 committed by GitHub
commit 469f075e21
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -136,8 +136,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, 4*time.Minute); err != nil {
return nil, errors.Wrap(err, "creating host")
}
glog.Infof("duration metric: libmachine.API.Create for %q took %s", cfg.Name, time.Since(cstart))