Skip to content

Commit

Permalink
e2e update
Browse files Browse the repository at this point in the history
  • Loading branch information
kaovilai committed Jan 23, 2023
1 parent a4534f7 commit 7b0806b
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion controllers/velero_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -944,7 +944,7 @@ func TestDPAReconciler_buildVeleroDeployment(t *testing.T) {
Velero: &oadpv1alpha1.VeleroConfig{
PodConfig: &oadpv1alpha1.PodConfig{
Labels: map[string]string{
"component": "restic",
"component": common.NodeAgent,
},
},
},
Expand Down
2 changes: 1 addition & 1 deletion tests/e2e/backup_restore_suite_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ var _ = Describe("AWS backup restore tests", func() {

if brCase.BackupRestoreType == RESTIC {
log.Printf("Waiting for restic pods to be running")
Eventually(AreResticPodsRunning(namespace), timeoutMultiplier*time.Minute*3, time.Second*5).Should(BeTrue())
Eventually(AreNodeAgentPodsRunning(namespace), timeoutMultiplier*time.Minute*3, time.Second*5).Should(BeTrue())
}
if brCase.BackupRestoreType == CSI {
if provider == "aws" || provider == "ibmcloud" || provider == "gcp" || provider == "azure" {
Expand Down
2 changes: 1 addition & 1 deletion tests/e2e/dpa_deployment_suite_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -638,7 +638,7 @@ var _ = Describe("Configuration testing for DPA Custom Resource", func() {
//restic installation
if dpa.Spec.Configuration.Restic != nil && *dpa.Spec.Configuration.Restic.Enable {
log.Printf("Waiting for restic pods to be running")
Eventually(AreResticPodsRunning(namespace), timeoutMultiplier*time.Minute*3, time.Second*5).Should(BeTrue())
Eventually(AreNodeAgentPodsRunning(namespace), timeoutMultiplier*time.Minute*3, time.Second*5).Should(BeTrue())
} else {
log.Printf("Waiting for restic daemonset to be deleted")
Eventually(IsResticDaemonsetDeleted(namespace), timeoutMultiplier*time.Minute*3, time.Second*5).Should(BeTrue())
Expand Down
2 changes: 1 addition & 1 deletion tests/e2e/subscription_suite_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ var _ = Describe("Subscription Config Suite Test", func() {
Eventually(AreVeleroPodsRunning(namespace), timeoutMultiplier*time.Minute*3, time.Second*5).Should(BeTrue())
if velero.Spec.Configuration.Restic.Enable != nil && *velero.Spec.Configuration.Restic.Enable {
log.Printf("Waiting for restic pods to be running")
Eventually(AreResticPodsRunning(namespace), timeoutMultiplier*time.Minute*3, time.Second*5).Should(BeTrue())
Eventually(AreNodeAgentPodsRunning(namespace), timeoutMultiplier*time.Minute*3, time.Second*5).Should(BeTrue())
}
if s.Spec.Config != nil && s.Spec.Config.Env != nil {
// get pod env vars
Expand Down

0 comments on commit 7b0806b

Please sign in to comment.