xenserver / terraform-provider-xenserver

XenServer provider for Terraform
Other
18 stars 5 forks source link

CP-50734: Remove the disk limitation as user want to create diskless VM #61

Closed xueqingz closed 1 month ago

xueqingz commented 1 month ago

test result:

ubuntu@ubuntu-server:~/code/terraform-provider-xenserver$ make testacc
if [ -z "/home/ubuntu/go/bin" ]; then echo "GOBIN is not set" && exit 1; fi
go mod tidy
go install .
ls -l /home/ubuntu/go/bin/terraform-provider-xenserver
-rwxrwxr-x 1 ubuntu ubuntu 23504297 Oct 12 08:31 /home/ubuntu/go/bin/terraform-provider-xenserver
source .env && TF_ACC=1 go test ./xenserver/ -v   -timeout 120m
=== RUN   TestAccNetworkDataSource
--- PASS: TestAccNetworkDataSource (6.16s)
=== RUN   TestAccVlanResource
--- PASS: TestAccVlanResource (35.47s)
=== RUN   TestAccNICDataSource
--- PASS: TestAccNICDataSource (6.43s)
=== RUN   TestAccPifDataSource
--- PASS: TestAccPifDataSource (13.01s)
=== RUN   TestAccSnapshotResource
--- PASS: TestAccSnapshotResource (31.08s)
=== RUN   TestAccSRDataSource
--- PASS: TestAccSRDataSource (6.10s)
=== RUN   TestAccNFSResource
--- PASS: TestAccNFSResource (31.81s)
=== RUN   TestAccNFSISOResource
--- PASS: TestAccNFSISOResource (24.95s)
=== RUN   TestAccSRResourceLocal
--- PASS: TestAccSRResourceLocal (39.39s)
=== RUN   TestAccSRResourceShared
--- PASS: TestAccSRResourceShared (23.88s)
=== RUN   TestAccSMBResource
--- PASS: TestAccSMBResource (25.08s)
=== RUN   TestAccSMBISOResource
--- PASS: TestAccSMBISOResource (24.95s)
=== RUN   TestAccVDIResource
--- PASS: TestAccVDIResource (37.58s)
=== RUN   TestAccVMDataSource
--- PASS: TestAccVMDataSource (17.38s)
=== RUN   TestAccVMResource
--- PASS: TestAccVMResource (47.81s)
=== RUN   TestAccLinuxVMResource
--- PASS: TestAccLinuxVMResource (16.64s)
PASS
ok      terraform-provider-xenserver/xenserver  387.723s