Increase default timeout for acceptance tests
This commit is contained in:
parent
7430fd5a76
commit
bb864fb527
2
Makefile
2
Makefile
|
@ -27,7 +27,7 @@ testacc: generate
|
||||||
echo " make testacc TEST=./builtin/providers/aws"; \
|
echo " make testacc TEST=./builtin/providers/aws"; \
|
||||||
exit 1; \
|
exit 1; \
|
||||||
fi
|
fi
|
||||||
TF_ACC=1 go test $(TEST) -v $(TESTARGS) -timeout 45m
|
TF_ACC=1 go test $(TEST) -v $(TESTARGS) -timeout 90m
|
||||||
|
|
||||||
# testrace runs the race checker
|
# testrace runs the race checker
|
||||||
testrace: generate
|
testrace: generate
|
||||||
|
|
|
@ -74,7 +74,7 @@ To run the acceptance tests, invoke `make testacc`:
|
||||||
```sh
|
```sh
|
||||||
$ make testacc TEST=./builtin/providers/aws TESTARGS='-run=Vpc'
|
$ make testacc TEST=./builtin/providers/aws TESTARGS='-run=Vpc'
|
||||||
go generate ./...
|
go generate ./...
|
||||||
TF_ACC=1 go test ./builtin/providers/aws -v -run=Vpc -timeout 45m
|
TF_ACC=1 go test ./builtin/providers/aws -v -run=Vpc -timeout 90m
|
||||||
=== RUN TestAccVpc_basic
|
=== RUN TestAccVpc_basic
|
||||||
2015/02/10 14:11:17 [INFO] Test: Using us-west-2 as test region
|
2015/02/10 14:11:17 [INFO] Test: Using us-west-2 as test region
|
||||||
[...]
|
[...]
|
||||||
|
|
Loading…
Reference in New Issue