From dd29997b9c65e420f036ce540cb692db0109800b Mon Sep 17 00:00:00 2001 From: Hugo Dutka Date: Mon, 13 Jan 2025 09:57:48 -0600 Subject: [PATCH] chore: reduce parallelism for test-go-pg on macOS (#16116) We're seeing test-go-pg flakes on macOS in CI. We've had the same problem on Windows, and reducing test parallelism in https://github.com/coder/coder/pull/16090 seemed to help. This PR makes the same change on macOS. --- .github/workflows/ci.yaml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index df752d2aa4..82f2a7f948 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -453,7 +453,8 @@ jobs: DB=ci gotestsum --format standard-quiet -- -v -short -count=1 -parallel 4 -p 4 ./... else go run scripts/embedded-pg/main.go - DB=ci gotestsum --format standard-quiet -- -v -short -count=1 ./... + # Reduce test parallelism, like for Windows above. + DB=ci gotestsum --format standard-quiet -- -v -short -count=1 -parallel 4 -p 4 ./... fi - name: Upload test stats to Datadog