Skip to content

Commit

Permalink
fixup: respond to review feedback #2
Browse files Browse the repository at this point in the history
  • Loading branch information
marun committed Aug 20, 2023
1 parent 6e6b19a commit 6c54acf
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions scripts/tests.e2e.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ set -euo pipefail
# e.g.,
# ./scripts/build.sh
# ./scripts/tests.e2e.sh ./build/avalanchego
# E2E_SERIAL=1 ./scripts/tests.e2e.sh ./build/avalanchego
if ! [[ "$0" =~ scripts/tests.e2e.sh ]]; then
echo "must be run from repository root"
exit 255
Expand Down Expand Up @@ -54,9 +55,10 @@ if [[ -n "${E2E_SERIAL:-}" ]]; then
# on powerful development workstations.
echo "tests will be executed serially to minimize resource requirements"
else
# Enable parallel execution of specs defined in the test binary, which
# requires invoking the binary via the ginkgo cli. The test binary by
# itself isn't capable of executing specs in parallel.
# Enable parallel execution of specs defined in the test binary by
# default. This requires invoking the binary via the ginkgo cli
# since the test binary isn't capable of executing specs in
# parallel.
echo "tests will be executed in parallel"
GINKGO_ARGS="-p"
fi
Expand Down

0 comments on commit 6c54acf

Please sign in to comment.