Skip to content

Commit

Permalink
Added e2e debug output
Browse files Browse the repository at this point in the history
  • Loading branch information
vr4manta committed Nov 26, 2024
1 parent 4befc07 commit e85ee10
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions test/e2e/multi-disk_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,11 @@ func verifyDisks(ctx context.Context, input DiskSpecInput) {
diskCount := 1 + len(vm.Spec.DataDisks)
Expect(diskCount).ToNot(Equal(1), "Total disk count should be larger than 1 for this test")

finderVMs, err := input.Finder.VirtualMachineList(ctx, "/...")

Check failure on line 90 in test/e2e/multi-disk_test.go

View workflow job for this annotation

GitHub Actions / lint (test)

ineffectual assignment to err (ineffassign)
for _, finderVm := range finderVMs {

Check failure on line 91 in test/e2e/multi-disk_test.go

View workflow job for this annotation

GitHub Actions / lint (test)

var-naming: range var finderVm should be finderVM (revive)
fmt.Printf("Found vm %s\n", finderVm.Name())
}

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

Expand Down

0 comments on commit e85ee10

Please sign in to comment.