Skip to content

Commit

Permalink
Add sleep to avoid error of SnapshotCreationPerVolumeRateExceeded
Browse files Browse the repository at this point in the history
Signed-off-by: danfengl <[email protected]>
  • Loading branch information
danfengliu committed Nov 26, 2023
1 parent 32deef7 commit 4cbf5cc
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions test/e2e/backups/deletion.go
Original file line number Diff line number Diff line change
Expand Up @@ -181,6 +181,10 @@ func runBackupDeletionTests(client TestClient, veleroCfg VeleroConfig, backupNam
backupName = "backup-1-" + UUIDgen.String()
BackupCfg.BackupName = backupName

// Hit issue: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/errors-overview.html#:~:text=SnapshotCreationPerVolumeRateExceeded
// Sleep for more than 15 seconds to avoid this issue.
time.Sleep(1 * time.Minute)

By(fmt.Sprintf("Back up workload with name %s", BackupCfg.BackupName), func() {
Expect(VeleroBackupNamespace(oneHourTimeout, veleroCLI,
veleroNamespace, BackupCfg)).To(Succeed(), func() string {
Expand Down

0 comments on commit 4cbf5cc

Please sign in to comment.