mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-09-11 06:02:18 +00:00
e2e: move several timeouts from TestContext into TimeoutContext
This consolidates timeout handling. In the future, configuration of all timeouts via a configuration file might get added. For now, the same three legacy command line flags for the timeouts that get moved continue to be supported.
This commit is contained in:
@@ -1967,7 +1967,7 @@ func (v *azureFileVolume) DeleteVolume(ctx context.Context) {
|
||||
}
|
||||
|
||||
func (a *azureDiskDriver) GetTimeouts() *framework.TimeoutContext {
|
||||
timeouts := framework.NewTimeoutContextWithDefaults()
|
||||
timeouts := framework.NewTimeoutContext()
|
||||
timeouts.PodStart = time.Minute * 15
|
||||
timeouts.PodDelete = time.Minute * 15
|
||||
timeouts.PVDelete = time.Minute * 20
|
||||
|
Reference in New Issue
Block a user