From 017b1fbb9ffbcc21e62191687412d761ffe90d38 Mon Sep 17 00:00:00 2001 From: getsmatu Date: Mon, 8 Dec 2025 15:31:10 +0100 Subject: [PATCH] chore(bootstrap): default NUM_TXES to 8 for test harness The test harness assumes 8 txe instances are running, but NUM_TXES defaulted to 1 when unset, causing all tests to reuse the same port 45730. This change updates the default to 8 so that tests distribute across eight ports by default, matching the comment and enabling proper parallelism. --- bootstrap.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/bootstrap.sh b/bootstrap.sh index b61c79e5..ccfc41c2 100755 --- a/bootstrap.sh +++ b/bootstrap.sh @@ -17,7 +17,8 @@ function test_cmds { i=0 $NARGO test --list-tests --silence-warnings | sort | while read -r package test; do # We assume there are 8 txe's running. - port=$((45730 + (i++ % ${NUM_TXES:-1}))) + # Default to 8 txe instances if NUM_TXES is not set; this matches the comment above + port=$((45730 + (i++ % ${NUM_TXES:-8}))) echo "$hash noir-projects/scripts/run_test.sh aztec-nr $package $test $port" done }