Commit 3884bf4
committed
test/e2e/common.go: fix disk_offering_test.go
• [FAILED] [292.946 seconds]
When testing with disk offering [It] Should successfully create a cluster with disk offering
/data/git/cluster-api-provider-cloudstack/test/e2e/disk_offering.go:60
[FAILED] Expected
<string>:
to equal
<string>: Small
In [It] at: /data/git/cluster-api-provider-cloudstack/test/e2e/common.go:515
The error is because diskofferingname of VM is not the offering name of DATA disks.
It is the offering name of ROOT disk only when the VM is created from ISO.
The test passes if check the offering name of DATA disks instead.1 parent 4d7274d commit 3884bf4
1 file changed
+11
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
512 | 512 | | |
513 | 513 | | |
514 | 514 | | |
515 | | - | |
| 515 | + | |
| 516 | + | |
| 517 | + | |
| 518 | + | |
| 519 | + | |
| 520 | + | |
| 521 | + | |
| 522 | + | |
| 523 | + | |
| 524 | + | |
| 525 | + | |
516 | 526 | | |
517 | 527 | | |
518 | 528 | | |
| |||
0 commit comments