Skip to content

Commit 584943f

Browse files
committed
Add .config/velero
1 parent 2e217b5 commit 584943f

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

tests/e2e/backup_restore_cli_suite_test.go

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -204,6 +204,13 @@ var _ = ginkgo.Describe("Backup and restore tests via OADP CLI", ginkgo.Label("c
204204
ginkgo.Fail(fmt.Sprintf("OADP CLI not available: %v, output: %s", err, string(output)))
205205
}
206206
log.Printf("OADP CLI available. Version: %s", string(output))
207+
208+
cmd = exec.Command("kubectl", "oadp", "client", "config", "set", "namespace=openshift-adp")
209+
output, err = cmd.CombinedOutput()
210+
if err != nil {
211+
ginkgo.Fail(fmt.Sprintf("Failed to set OADP CLI namespace to openshift-adp: %v, output: %s", err, string(output)))
212+
}
213+
log.Printf("OADP CLI namespace set to openshift-adp")
207214
})
208215

209216
var _ = ginkgo.AfterEach(func(ctx ginkgo.SpecContext) {

0 commit comments

Comments
 (0)