Skip to content

Commit

Permalink
E2E tests
Browse files Browse the repository at this point in the history
  • Loading branch information
vr4manta committed Nov 21, 2024
1 parent ecd270f commit 687b518
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions test/e2e/multi-disk_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,9 @@ func VerifyDisks(ctx context.Context, input DiskSpecInput) {

By("Verifying the disks attached to the VMs")
for _, vm := range vms.Items {
// vSphere machine object should have the data disks configured
Byf("VM %s Spec has %d DataDisks defined", vm.Name, len(vm.Spec.DataDisks))

vmObj, err := input.Finder.VirtualMachine(ctx, vm.Name)
Expect(err).NotTo(HaveOccurred())

Expand Down

0 comments on commit 687b518

Please sign in to comment.