From 687b5182ca5df2909d45870fcaae320ac1d4dec9 Mon Sep 17 00:00:00 2001 From: vr4manta Date: Thu, 21 Nov 2024 07:35:50 -0500 Subject: [PATCH] E2E tests --- test/e2e/multi-disk_test.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/test/e2e/multi-disk_test.go b/test/e2e/multi-disk_test.go index 2a78dd20cf..4756cc0297 100644 --- a/test/e2e/multi-disk_test.go +++ b/test/e2e/multi-disk_test.go @@ -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())