Skip to content

Commit

Permalink
add import b/r entry name clarification update
Browse files Browse the repository at this point in the history
  • Loading branch information
kaovilai committed Jul 11, 2022
1 parent a166c88 commit a8e4b52
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions tests/e2e/backup_restore_suite_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ import (
. "github.com/onsi/gomega"
. "github.com/openshift/oadp-operator/tests/e2e/lib"
utils "github.com/openshift/oadp-operator/tests/e2e/utils"
"k8s.io/utils/pointer"
"sigs.k8s.io/controller-runtime/pkg/client"
)

Expand Down Expand Up @@ -262,31 +263,31 @@ var _ = Describe("AWS backup restore tests", func() {
Entry("MySQL application CSI", Label("ibmcloud", "aws", "gcp"), BackupRestoreCase{
ApplicationTemplate: fmt.Sprintf("./sample-applications/mysql-persistent/mysql-persistent-csi-%s-template.yaml", provider),
ApplicationNamespace: "mysql-persistent",
Name: "mysql-e2e",
Name: "mysql-csi-e2e",
BackupRestoreType: CSI,
PreBackupVerify: mysqlReady(true, CSI),
PostRestoreVerify: mysqlReady(false, CSI),
}, nil),
Entry("Mongo application CSI", Label("ibmcloud", "aws", "gcp"), BackupRestoreCase{
ApplicationTemplate: fmt.Sprintf("./sample-applications/mongo-persistent/mongo-persistent-csi-%s-template.yaml", provider),
ApplicationNamespace: "mongo-persistent",
Name: "mongo-e2e",
Name: "mongo-csi-e2e",
BackupRestoreType: CSI,
PreBackupVerify: mongoready(true, CSI),
PostRestoreVerify: mongoready(false, CSI),
}, nil),
Entry("Mongo application RESTIC", BackupRestoreCase{
ApplicationTemplate: "./sample-applications/mongo-persistent/mongo-persistent.yaml",
ApplicationNamespace: "mongo-persistent",
Name: "mongo-e2e",
Name: "mongo-restic-e2e",
BackupRestoreType: RESTIC,
PreBackupVerify: mongoready(false, RESTIC),
PostRestoreVerify: mongoready(false, RESTIC),
}, nil),
Entry("MySQL application RESTIC", BackupRestoreCase{
ApplicationTemplate: "./sample-applications/mysql-persistent/mysql-persistent-template.yaml",
ApplicationNamespace: "mysql-persistent",
Name: "mysql-e2e",
Name: "mysql-restic-e2e",
BackupRestoreType: RESTIC,
PreBackupVerify: mysqlReady(false, RESTIC),
PostRestoreVerify: mysqlReady(false, RESTIC),
Expand Down

0 comments on commit a8e4b52

Please sign in to comment.