Skip to content

Commit

Permalink
E2E tests
Browse files Browse the repository at this point in the history
  • Loading branch information
vr4manta committed Nov 20, 2024
1 parent fe5b53e commit ecd270f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/e2e/multi-disk_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -112,9 +112,9 @@ func VerifyDisks(ctx context.Context, input DiskSpecInput) {
// We expect control plane VMs to have 3 disks, and the compute VMs will have 2.
disks := devices.SelectByType((*types.VirtualDisk)(nil))
if strings.Contains(vm.Name, "-worker") {
Expect(len(disks)).To(HaveLen(2))
Expect(disks).To(HaveLen(2), "Disk count of compute VM should be 2")
} else {
Expect(len(disks)).To(HaveLen(3))
Expect(disks).To(HaveLen(3), "Disk count of control plane VM should be 3")
}
}
}

0 comments on commit ecd270f

Please sign in to comment.