Skip to content

Commit

Permalink
E2E supports VKS data mover environment.
Browse files Browse the repository at this point in the history
* Add new flag HAS_VSPHERE_PLUGIN for E2E test.
* Modify the E2E README for the new parameter.
* Add the VolumeSnapshotClass for VKS.
* Modify the plugin install logic.
* Modify the cases to support data mover case in VKS.

Signed-off-by: Xun Jiang <[email protected]>
  • Loading branch information
blackpiglet committed Nov 12, 2024
1 parent 90d3f15 commit 35c11fa
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion test/e2e/backups/deletion.go
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ import (
. "github.com/vmware-tanzu/velero/test/util/velero"
)

// Test backup and restore of Kibishi using restic
// Test backup and restore of Kibishii using restic

func BackupDeletionWithSnapshots() {
backup_deletion_test(true)
Expand Down
5 changes: 3 additions & 2 deletions test/e2e/backups/ttl.go
Original file line number Diff line number Diff line change
Expand Up @@ -128,6 +128,7 @@ func TTLTest() {
test.testNS, 2)).To(Succeed())
})
}

snapshotCheckPoint, err = GetSnapshotCheckPoint(
client,
veleroCfg,
Expand All @@ -136,7 +137,7 @@ func TTLTest() {
test.backupName,
KibishiiPVCNameList,
)
Expect(err).NotTo(HaveOccurred(), "Fail to get Azure CSI snapshot checkpoint")
Expect(err).NotTo(HaveOccurred(), "Fail to get snapshot checkpoint")

Expect(
SnapshotsShouldBeCreatedInCloud(
Expand All @@ -147,7 +148,7 @@ func TTLTest() {
test.backupName,
snapshotCheckPoint,
),
).NotTo(HaveOccurred(), "Fail to get Azure CSI snapshot checkpoint")
).NotTo(HaveOccurred(), "Fail to verify the created snapshots")
}

By(fmt.Sprintf("Simulating a disaster by removing namespace %s\n", BackupCfg.BackupName), func() {
Expand Down

0 comments on commit 35c11fa

Please sign in to comment.