Support CSI plugin in E2E test

Signed-off-by: danfengl <danfengl@vmware.com>
This commit is contained in:
danfengl
2022-03-30 06:06:58 +00:00
parent 2c5c9246e6
commit 658699636d
15 changed files with 108 additions and 80 deletions

View File

@@ -61,7 +61,7 @@ func BackupsSyncTest() {
BeforeEach(func() {
flag.Parse()
if VeleroCfg.InstallVelero {
Expect(VeleroInstall(context.Background(), &VeleroCfg, "", false)).To(Succeed())
Expect(VeleroInstall(context.Background(), &VeleroCfg, false)).To(Succeed())
}
})
@@ -94,7 +94,7 @@ func BackupsSyncTest() {
By("Install velero", func() {
VeleroCfg.ObjectStoreProvider = ""
Expect(VeleroInstall(test.ctx, &VeleroCfg, "", false)).To(Succeed())
Expect(VeleroInstall(test.ctx, &VeleroCfg, false)).To(Succeed())
})
By("Check all backups in object storage are synced to Velero", func() {