xenserver / terraform-provider-xenserver

XenServer provider for Terraform
Other
18 stars 5 forks source link

CP-49970: Implement xenserver_network provider data source #21

Closed xueqingz closed 5 months ago

xueqingz commented 5 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 22711821 Jun 25 05:29 /home/ubuntu/go/bin/terraform-provider-xenserver
source .env && TF_ACC=1 go test ./xenserver/ -v   -timeout 120m
=== RUN   TestAccNetworkDataSource
--- PASS: TestAccNetworkDataSource (1.14s)
=== RUN   TestAccNetworkResource
--- PASS: TestAccNetworkResource (2.27s)
=== RUN   TestAccPifDataSource
--- PASS: TestAccPifDataSource (0.67s)
=== RUN   TestAccSRDataSource
--- PASS: TestAccSRDataSource (0.69s)
=== RUN   TestAccNFSResource
--- PASS: TestAccNFSResource (5.35s)
=== RUN   TestAccSRResourceLocal
--- PASS: TestAccSRResourceLocal (3.90s)
=== RUN   TestAccSRResourceShared
--- PASS: TestAccSRResourceShared (5.23s)
=== RUN   TestAccVDIResource
--- PASS: TestAccVDIResource (6.36s)
=== RUN   TestAccVMDataSource
--- PASS: TestAccVMDataSource (1.16s)
=== RUN   TestAccVMResource
--- PASS: TestAccVMResource (1.87s)
PASS
ok      terraform-provider-xenserver/xenserver  28.653s
ubuntu@ubuntu-server:~/code/terraform-provider-xenserver