From 63dcefe56d623d1fe1018f266a70f4f468f23284 Mon Sep 17 00:00:00 2001 From: j75689 Date: Thu, 7 Mar 2024 16:27:42 +0800 Subject: [PATCH] ci: add failfast to go test --- tests/Makefile | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/tests/Makefile b/tests/Makefile index 95df468c77..3f837cd5bf 100644 --- a/tests/Makefile +++ b/tests/Makefile @@ -1,11 +1,11 @@ test-integration: - go test ./integration/... -timeout 30m + go test -failfast ./integration/... -timeout 30m test-integration-cov: - go test ./integration/... -timeout 30m -coverpkg=../... -coverprofile=integration-profile.out -covermode=atomic + go test -failfast ./integration/... -timeout 30m -coverpkg=../... -coverprofile=integration-profile.out -covermode=atomic test-e2e: - go test ./e2e/... -mod=readonly -timeout 30m -race -tags='e2e' + go test ./e2e/... -failfast -mod=readonly -timeout 30m -race -tags='e2e' test-e2e-cov: - go test ./e2e/... -mod=readonly -timeout 30m -race -tags='e2e' -coverpkg=../... -coverprofile=e2e-profile.out -covermode=atomic \ No newline at end of file + go test ./e2e/... -failfast -mod=readonly -timeout 30m -race -tags='e2e' -coverpkg=../... -coverprofile=e2e-profile.out -covermode=atomic \ No newline at end of file