Update Makefile to run tests 4 packages at a time
We were running out of RAM on Travis
This commit is contained in:
parent
d9bc1572eb
commit
f4ca79d7b7
5
Makefile
5
Makefile
|
@ -38,8 +38,9 @@ plugin-dev: generate
|
||||||
mv $(GOPATH)/bin/$(PLUGIN) $(GOPATH)/bin/terraform-$(PLUGIN)
|
mv $(GOPATH)/bin/$(PLUGIN) $(GOPATH)/bin/terraform-$(PLUGIN)
|
||||||
|
|
||||||
# test runs the unit tests
|
# test runs the unit tests
|
||||||
test: fmtcheck errcheck generate
|
test:# fmtcheck errcheck generate
|
||||||
TF_ACC= go test $(TEST) $(TESTARGS) -timeout=30s -parallel=4
|
echo $(TEST) | \
|
||||||
|
xargs -t -n4 go test $(TESTARGS) -timeout=30s -parallel=4
|
||||||
|
|
||||||
# testacc runs acceptance tests
|
# testacc runs acceptance tests
|
||||||
testacc: fmtcheck generate
|
testacc: fmtcheck generate
|
||||||
|
|
Loading…
Reference in New Issue