Skip to content

Commit

Permalink
Merge pull request #44 from userhas404d/terratest
Browse files Browse the repository at this point in the history
Parameterizes terratest timeout
  • Loading branch information
userhas404d authored Apr 8, 2020
2 parents 7079df1 + cc26802 commit 37a07eb
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .bumpversion.cfg
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[bumpversion]
current_version = 0.0.16
current_version = 0.0.17
commit = True
message = Bumps version to {new_version}
tag = False
Expand Down
4 changes: 3 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -330,8 +330,10 @@ terratest/install: | guard/program/go
@ echo "[$@]: Completed successfully!"

terratest/test: | guard/program/go
terratest/test: TIMEOUT ?= 20m
terratest/test:
@ echo "[$@] Starting Terraform tests"
cd $(TERRAFORM_TEST_DIR) && go test -count=1 -timeout 20m
cd $(TERRAFORM_TEST_DIR) && go test -count=1 -timeout $(TIMEOUT)
@ echo "[$@]: Completed successfully!"

## Runs terraform tests in the tests directory
Expand Down

0 comments on commit 37a07eb

Please sign in to comment.