diff --git a/scripts/integration.sh b/scripts/integration.sh index bc6fdc1c..2a22251d 100755 --- a/scripts/integration.sh +++ b/scripts/integration.sh @@ -115,7 +115,10 @@ function specs::run() { nodes=1 if [[ "${parallel}" == "true" ]]; then - nodes=3 + # Honour GINKGO_NODES from the CI pipeline (defaults to 3) so parallelism can be + # tuned per environment -- e.g. lowered on the single-AZ buildpacks test CF where + # heavy Rails fixtures otherwise saturate the one Diego cell. + nodes="${GINKGO_NODES:-3}" serial_flag="" fi