xenserver / terraform-provider-xenserver

XenServer provider for Terraform
Other
19 stars 5 forks source link

CP-50732: Implement Snapshot revert #62

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
rm -f /home/ubuntu/go/bin/terraform-provider-xenserver
go mod tidy
go install .
ls -l /home/ubuntu/go/bin/terraform-provider-xenserver
-rwxrwxr-x 1 ubuntu ubuntu 23574659 Oct 17 05:30 /home/ubuntu/go/bin/terraform-provider-xenserver
source .env && TF_ACC=1 go test ./xenserver/ -v   -timeout 120m
=== RUN   TestAccNetworkDataSource
--- PASS: TestAccNetworkDataSource (6.46s)
=== RUN   TestAccVlanResource
--- PASS: TestAccVlanResource (32.05s)
=== RUN   TestAccNICDataSource
--- PASS: TestAccNICDataSource (8.30s)
=== RUN   TestAccPifDataSource
--- PASS: TestAccPifDataSource (18.19s)
=== RUN   TestAccPoolResource
--- PASS: TestAccPoolResource (74.40s)
=== RUN   TestAccSnapshotResource
--- PASS: TestAccSnapshotResource (45.97s)
=== RUN   TestAccSRDataSource
--- PASS: TestAccSRDataSource (7.72s)
=== RUN   TestAccNFSResource
--- PASS: TestAccNFSResource (39.19s)
=== RUN   TestAccNFSISOResource
--- PASS: TestAccNFSISOResource (34.01s)
=== RUN   TestAccSRResourceLocal
--- PASS: TestAccSRResourceLocal (51.48s)
=== RUN   TestAccSRResourceShared
--- PASS: TestAccSRResourceShared (26.91s)
=== RUN   TestAccSMBResource
--- PASS: TestAccSMBResource (33.61s)
=== RUN   TestAccSMBISOResource
--- PASS: TestAccSMBISOResource (26.34s)
=== RUN   TestAccVDIResource
--- PASS: TestAccVDIResource (37.77s)
=== RUN   TestAccVMDataSource
--- PASS: TestAccVMDataSource (17.04s)
=== RUN   TestAccVMResource
--- PASS: TestAccVMResource (47.33s)
=== RUN   TestAccLinuxVMResource
--- PASS: TestAccLinuxVMResource (16.00s)
PASS
ok      terraform-provider-xenserver/xenserver  522.784s