From d81082aec108014e6cfb1aac924b1db523b9f7ff Mon Sep 17 00:00:00 2001 From: Cian Johnston Date: Tue, 26 Mar 2024 10:41:11 +0000 Subject: [PATCH 1/2] ci: limit parallelism to 4 --- Makefile | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 4aabb3951fcc6..0b0442d973cfa 100644 --- a/Makefile +++ b/Makefile @@ -780,7 +780,8 @@ test-postgres: test-postgres-docker --packages="./..." -- \ -timeout=20m \ -failfast \ - -count=1 + -count=1 \ + -parallel=4 .PHONY: test-postgres # NOTE: we set --memory to the same size as a GitHub runner. @@ -815,7 +816,7 @@ test-postgres-docker: # Make sure to keep this in sync with test-go-race from .github/workflows/ci.yaml. test-race: - gotestsum --junitfile="gotests.xml" -- -race -count=1 ./... + gotestsum --junitfile="gotests.xml" -- -race -count=1 -parallel=4 ./... .PHONY: test-race # Note: we used to add this to the test target, but it's not necessary and we can From 32bee6906b88c3414a8306fd564e0c9efb6bb18d Mon Sep 17 00:00:00 2001 From: Cian Johnston Date: Tue, 26 Mar 2024 10:41:31 +0000 Subject: [PATCH 2/2] ci: use makefile target for test-race --- .github/workflows/ci.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 7c58dce1e5adf..1bba086d83be6 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -387,7 +387,7 @@ jobs: - name: Run Tests run: | - gotestsum --junitfile="gotests.xml" -- -race ./... + make test-race - name: Upload test stats to Datadog timeout-minutes: 1 pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy