Skip to content

Commit

Permalink
enforce a test timeout to catch hangs
Browse files Browse the repository at this point in the history
  • Loading branch information
DoctorVin committed Apr 18, 2024
1 parent 7eeae19 commit 48652ca
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ test: | unit-test integration-test
## run integration tests
integration-test: test-database
@echo Running integration tests...
@FLEETDB_CRDB_URI="${TEST_DB}" go test -cover -tags testtools,integration -p 1 ./...
@FLEETDB_CRDB_URI="${TEST_DB}" go test -cover -tags testtools,integration -p 1 -timeout 1m ./...

## run lint and unit tests
unit-test: | lint
Expand Down

0 comments on commit 48652ca

Please sign in to comment.