Set default test timeouts first, only then modify the required ones

This commit is contained in:
Maciej Szulik 2022-10-20 15:35:17 +02:00
parent f14ebac384
commit 24d30bf8b2
No known key found for this signature in database
GPG Key ID: F15E55D276FA84C4

View File

@ -1905,9 +1905,9 @@ func (v *azureFileVolume) DeleteVolume() {
}
func (a *azureDiskDriver) GetTimeouts() *framework.TimeoutContext {
return &framework.TimeoutContext{
PodStart: time.Minute * 15,
PodDelete: time.Minute * 15,
PVDelete: time.Minute * 20,
}
timeouts := framework.NewTimeoutContextWithDefaults()
timeouts.PodStart = time.Minute * 15
timeouts.PodDelete = time.Minute * 15
timeouts.PVDelete = time.Minute * 20
return timeouts
}