Closed xueqingz closed 4 months ago
1.update some value from int64 to int32 2.add some validators 3.improve unit tests
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 23178895 Jul 24 08:15 /home/ubuntu/go/bin/terraform-provider-xenserver source .env && TF_ACC=1 go test ./xenserver/ -v -timeout 120m === RUN TestAccNetworkDataSource --- PASS: TestAccNetworkDataSource (0.69s) === RUN TestAccVlanResource --- PASS: TestAccVlanResource (3.64s) === RUN TestAccNICDataSource --- PASS: TestAccNICDataSource (0.66s) === RUN TestAccPifDataSource --- PASS: TestAccPifDataSource (0.67s) === RUN TestAccSnapshotResource --- PASS: TestAccSnapshotResource (6.86s) === RUN TestAccSRDataSource --- PASS: TestAccSRDataSource (0.66s) === RUN TestAccNFSResource --- PASS: TestAccNFSResource (5.50s) === RUN TestAccSRResourceLocal --- PASS: TestAccSRResourceLocal (5.07s) === RUN TestAccSRResourceShared --- PASS: TestAccSRResourceShared (4.84s) === RUN TestAccVDIResource --- PASS: TestAccVDIResource (6.67s) === RUN TestAccVMDataSource --- PASS: TestAccVMDataSource (2.82s) === RUN TestAccVMResource --- PASS: TestAccVMResource (4.27s) PASS ok terraform-provider-xenserver/xenserver 42.370s
1.update some value from int64 to int32 2.add some validators 3.improve unit tests
test result: