xenserver / terraform-provider-xenserver

XenServer provider for Terraform
Other
19 stars 5 forks source link

CP-49383: Remove dom0 from return of vm data source and use template default value for cores-per-socket #33

Closed xueqingz closed 4 months ago

xueqingz commented 4 months 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 23160654 Jul 22 05:51 /home/ubuntu/go/bin/terraform-provider-xenserver
source .env && TF_ACC=1 go test ./xenserver/ -v   -timeout 120m
=== RUN   TestAccNetworkDataSource
--- PASS: TestAccNetworkDataSource (0.88s)
=== RUN   TestAccVlanResource
--- PASS: TestAccVlanResource (2.83s)
=== RUN   TestAccNICDataSource
--- PASS: TestAccNICDataSource (0.65s)
=== RUN   TestAccPifDataSource
--- PASS: TestAccPifDataSource (0.65s)
=== RUN   TestAccSnapshotResource
--- PASS: TestAccSnapshotResource (7.05s)
=== RUN   TestAccSRDataSource
--- PASS: TestAccSRDataSource (0.66s)
=== RUN   TestAccNFSResource
--- PASS: TestAccNFSResource (4.77s)
=== RUN   TestAccSRResourceLocal
--- PASS: TestAccSRResourceLocal (3.96s)
=== RUN   TestAccSRResourceShared
--- PASS: TestAccSRResourceShared (4.81s)
=== RUN   TestAccVDIResource
--- PASS: TestAccVDIResource (5.70s)
=== RUN   TestAccVMDataSource
--- PASS: TestAccVMDataSource (2.79s)
=== RUN   TestAccVMResource
--- PASS: TestAccVMResource (4.61s)
PASS
ok      terraform-provider-xenserver/xenserver  39.371s