Skip to content

Commit 5ef3c3a

Browse files
committed
Have test harness fail fast for the benefit of not wasting CI resources.
1 parent a99656a commit 5ef3c3a

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -63,11 +63,11 @@ test\:all:
6363

6464
test\:integration:
6565
@echo "$(COLOR_OKTA)Running integration tests...$(COLOR_NONE)"
66-
go test -race ./tests/integration -test.v
66+
go test -failfast -race ./tests/integration -test.v
6767

6868
test\:unit:
6969
@echo "$(COLOR_OK)Running unit tests...$(COLOR_NONE)"
70-
go test -race ./tests/unit -test.v
70+
go test -failfast -race ./tests/unit -test.v
7171

7272
.PHONY: fmt
7373
fmt: check-fmt # Format the code

0 commit comments

Comments
 (0)