From 24d30bf8b2f3cba30eb58bea7aad6a22e5f7ae8b Mon Sep 17 00:00:00 2001 From: Maciej Szulik Date: Thu, 20 Oct 2022 15:35:17 +0200 Subject: [PATCH] Set default test timeouts first, only then modify the required ones --- test/e2e/storage/drivers/in_tree.go | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/test/e2e/storage/drivers/in_tree.go b/test/e2e/storage/drivers/in_tree.go index 7574ad30455..74145f7c1e1 100644 --- a/test/e2e/storage/drivers/in_tree.go +++ b/test/e2e/storage/drivers/in_tree.go @@ -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 }