Skip to content

Commit

Permalink
disable parallel unit tests in CI
Browse files Browse the repository at this point in the history
  • Loading branch information
iprotsiuk authored and ctlong committed Oct 31, 2024
1 parent bc2b53b commit 9d12369
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion scripts/subtests/unit-test
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,11 @@ 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}" = 'true' ]; 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

0 comments on commit 9d12369

Please sign in to comment.