mirror of
https://github.com/letic/terraform-provider-google.git
synced 2024-07-03 08:42:39 +00:00
Force acceptance test failure if .Set errors (#1934)
Many of the d.Set calls do not handle the error that comes back. This can lead to things that appear to be set but are silently failing. This change adds a flag to the makefile to force a panic if there are unhandled errors.
This commit is contained in:
parent
d7a67e13fb
commit
5b7da72291
|
@ -14,7 +14,7 @@ test: fmtcheck
|
|||
xargs -t -n4 go test $(TESTARGS) -timeout=30s -parallel=4
|
||||
|
||||
testacc: fmtcheck
|
||||
TF_ACC=1 go test $(TEST) -v $(TESTARGS) -timeout 120m
|
||||
TF_ACC=1 TF_SCHEMA_PANIC_ON_ERROR=1 go test $(TEST) -v $(TESTARGS) -timeout 120m
|
||||
|
||||
vet:
|
||||
@echo "go vet ."
|
||||
|
|
Loading…
Reference in New Issue
Block a user