From 93aad1d1f04abac0927bdd27f0c3f55a52de3fb4 Mon Sep 17 00:00:00 2001 From: Claudio Costa Date: Fri, 30 May 2025 10:20:07 -0600 Subject: [PATCH] Disable -race mode when running fully parallel tests (#31243) --- .github/workflows/server-test-template.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/server-test-template.yml b/.github/workflows/server-test-template.yml index 710c414bf2..eeecc3d85d 100644 --- a/.github/workflows/server-test-template.yml +++ b/.github/workflows/server-test-template.yml @@ -59,7 +59,7 @@ jobs: env: BUILD_IMAGE: mattermostdevelopment/mattermost-build-server:${{ steps.go.outputs.GO_VERSION }} run: | - if [[ ${{ github.ref_name }} == 'master' ]]; then + if [[ ${{ github.ref_name }} == 'master' && ${{ inputs.fullyparallel }} != true ]]; then export RACE_MODE="-race" fi docker run --net ghactions_mm-test \