From bc9fff5f1b4c5d898f7f966de292e1fca9e32bfa Mon Sep 17 00:00:00 2001 From: Miles Garnsey Date: Thu, 11 Apr 2024 14:02:47 +1000 Subject: [PATCH] Need a longer timeout on Medusa restore, since this takes in excess of 20 min at times. --- test/e2e/medusa_test.go | 2 +- test/e2e/suite_test.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/test/e2e/medusa_test.go b/test/e2e/medusa_test.go index 4ffaf5539..14752f432 100644 --- a/test/e2e/medusa_test.go +++ b/test/e2e/medusa_test.go @@ -286,7 +286,7 @@ func verifyRestoreJobFinished(t *testing.T, ctx context.Context, f *framework.E2 } return !restore.Status.FinishTime.IsZero() - }, polling.medusaRestoreDone.timeout*2, polling.medusaRestoreDone.interval, "restore didn't finish within timeout") + }, polling.medusaRestoreDone.timeout, polling.medusaRestoreDone.interval, "restore didn't finish within timeout") require.Eventually(func() bool { dc := &cassdcapi.CassandraDatacenter{} diff --git a/test/e2e/suite_test.go b/test/e2e/suite_test.go index d98a8206d..edde50001 100644 --- a/test/e2e/suite_test.go +++ b/test/e2e/suite_test.go @@ -712,7 +712,7 @@ func applyPollingDefaults() { polling.medusaBackupDone.timeout = 10 * time.Minute polling.medusaBackupDone.interval = 15 * time.Second - polling.medusaRestoreDone.timeout = 10 * time.Minute + polling.medusaRestoreDone.timeout = 25 * time.Minute polling.medusaRestoreDone.interval = 15 * time.Second polling.datacenterUpdating.timeout = 1 * time.Minute