From dd4d5695064c37ebb479ee833d88c666bf8897c5 Mon Sep 17 00:00:00 2001 From: Shulhan Date: Thu, 15 Jan 2026 14:44:01 +0700 Subject: Makefile: add flag -failfast and -timeout to go test command --- Makefile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 03ae6b3..71d2343 100644 --- a/Makefile +++ b/Makefile @@ -11,7 +11,9 @@ lint: .PHONY: test test: - CGO_ENABLED=1 go test -race -coverprofile=cover.out ./... + CGO_ENABLED=1 go test -coverprofile=cover.out -failfast -race \ + -timeout=1m \ + ./... go tool cover -html=cover.out -o cover.html .PHONY: pre-push -- cgit v1.3