Skip to content

Commit 8c20d61

Browse files
Updating github-config
1 parent b694c19 commit 8c20d61

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

‎scripts/integration.sh‎

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,10 @@ function specs::run() {
115115
nodes=1
116116

117117
if [[ "${parallel}" == "true" ]]; then
118-
nodes=3
118+
# Honour GINKGO_NODES from the CI pipeline (defaults to 3) so parallelism can be
119+
# tuned per environment -- e.g. lowered on the single-AZ buildpacks test CF where
120+
# heavy Rails fixtures otherwise saturate the one Diego cell.
121+
nodes="${GINKGO_NODES:-3}"
119122
serial_flag=""
120123
fi
121124

0 commit comments

Comments
 (0)