Skip to content

Commit

Permalink
Need a longer timeout on Medusa restore, since this takes in excess o…
Browse files Browse the repository at this point in the history
…f 20 min at times.
  • Loading branch information
Miles-Garnsey committed Apr 11, 2024
1 parent 04930b4 commit bc9fff5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion test/e2e/medusa_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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{}
Expand Down
2 changes: 1 addition & 1 deletion test/e2e/suite_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit bc9fff5

Please sign in to comment.