Closed xueqingz closed 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
test result: