From 2a53f51d98334a1ced2c2968f85526a9ca11f444 Mon Sep 17 00:00:00 2001 From: Andrew Costa Date: Tue, 5 Nov 2024 15:36:27 -0800 Subject: [PATCH] ci: disable parallel unit tests in CI --- scripts/subtests/unit-test | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/scripts/subtests/unit-test b/scripts/subtests/unit-test index 1d50d7eea..456883023 100755 --- a/scripts/subtests/unit-test +++ b/scripts/subtests/unit-test @@ -5,7 +5,12 @@ set -o pipefail SCRIPT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" &> /dev/null && pwd )" +flags='-r --randomize-all --randomize-suites --fail-on-pending --keep-going --race --trace' +if [ "${CI:-false}" = 'false' ]; then + flags="${flags} -p" +fi + pushd "${SCRIPT_DIR}/../../src" > /dev/null - go run github.com/onsi/ginkgo/v2/ginkgo -r -p --randomize-all --randomize-suites --fail-on-pending --keep-going --race --trace + go run github.com/onsi/ginkgo/v2/ginkgo $flags popd > /dev/null