xenserver / terraform-provider-xenserver

XenServer provider for Terraform
Other
18 stars 5 forks source link

CP-49361: Implement xenserver_sr and xenserver_sr_nfs provider resource #17

Closed xueqingz closed 5 months ago

xueqingz commented 5 months ago

test result:

ubuntu@ubuntu-server:~/code/terraform-provider-xenserver$ make testacc
source .env && TF_ACC=1 go test ./xenserver/ -v   -timeout 120m
=== RUN   TestAccPifDataSource
--- PASS: TestAccPifDataSource (0.72s)
=== RUN   TestAccSRDataSource
--- PASS: TestAccSRDataSource (0.71s)
=== RUN   TestAccNFSResource
--- PASS: TestAccNFSResource (5.17s)
=== RUN   TestAccSRResourceLocal
--- PASS: TestAccSRResourceLocal (3.66s)
=== RUN   TestAccSRResourceShared
--- PASS: TestAccSRResourceShared (5.16s)
=== RUN   TestAccVMResource
--- PASS: TestAccVMResource (1.70s)
PASS
ok      terraform-provider-xenserver/xenserver  17.139s
xueqingz commented 5 months ago

update 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 22477380 Jun 18 07:49 /home/ubuntu/go/bin/terraform-provider-xenserver
source .env && TF_ACC=1 go test ./xenserver/ -v   -timeout 120m
=== RUN   TestAccNetworkResource
--- PASS: TestAccNetworkResource (1.70s)
=== RUN   TestAccPifDataSource
--- PASS: TestAccPifDataSource (0.68s)
=== RUN   TestAccSRDataSource
--- PASS: TestAccSRDataSource (0.90s)
=== RUN   TestAccNFSResource
--- PASS: TestAccNFSResource (5.13s)
=== RUN   TestAccSRResourceLocal
--- PASS: TestAccSRResourceLocal (3.70s)
=== RUN   TestAccSRResourceShared
--- PASS: TestAccSRResourceShared (5.20s)
=== RUN   TestAccVMResource
--- PASS: TestAccVMResource (1.72s)
PASS
ok      terraform-provider-xenserver/xenserver