Skip to content

Commit

Permalink
Use --timeout flag when running tests
Browse files Browse the repository at this point in the history
  • Loading branch information
grongor committed Sep 10, 2021
1 parent cad6175 commit 47da59a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,9 @@ fix: $(BIN)/golangci-lint

.PHONY: test
test:
timeout 300 go test $(GO_TEST_FLAGS) ./...
timeout 300 go test $(GO_TEST_FLAGS) --race ./...
timeout 300 go test $(GO_TEST_FLAGS) --count 100 ./...
go test --timeout 5m $(GO_TEST_FLAGS) ./...
go test --timeout 5m $(GO_TEST_FLAGS) --race ./...
go test --timeout 5m $(GO_TEST_FLAGS) --count 100 ./...

.PHONY: coverage
coverage:
Expand Down

0 comments on commit 47da59a

Please sign in to comment.