Merge pull request #7363 from tstromberg/stop-harder
Extend maximum stop retry from 30s to 120spull/7345/head
commit
5306702515
|
@ -88,7 +88,7 @@ func stop(api libmachine.API, cluster config.ClusterConfig, n config.Node) bool
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if err := retry.Expo(tryStop, 1*time.Second, 30*time.Second, 3); err != nil {
|
if err := retry.Expo(tryStop, 1*time.Second, 120*time.Second, 5); err != nil {
|
||||||
exit.WithError("Unable to stop VM", err)
|
exit.WithError("Unable to stop VM", err)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue