Skip to content

Commit 03bc79a

Browse files
committed
fix: increase test timeout for heavy recursion tests in debug build
Port timeout fix from merge-train/barretenberg (PR #22347) to next. HonkRecursionConstraintTest and ChonkRecursionConstraintTest routinely take 400-600s in debug builds, exceeding the 600s default. Bump to 900s and add ChonkRecursionConstraintTest to the CPUS=4:MEM=8g group.
1 parent c6042dd commit 03bc79a

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

barretenberg/cpp/bootstrap.sh

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -248,9 +248,13 @@ function test_cmds_native {
248248
local prefix=$hash
249249
# A little extra resource for these tests.
250250
# IPARecursiveTests fails with 2 threads.
251-
if [[ "$test" =~ ^(AcirAvmRecursionConstraint|ChonkKernelCapacity|AvmRecursiveTests|IPARecursiveTests|HonkRecursionConstraintTest) ]]; then
251+
if [[ "$test" =~ ^(AcirAvmRecursionConstraint|ChonkKernelCapacity|AvmRecursiveTests|IPARecursiveTests|HonkRecursionConstraintTest|ChonkRecursionConstraintTest) ]]; then
252252
prefix="$prefix:CPUS=4:MEM=8g"
253253
fi
254+
# These tests routinely take 400-600s in debug builds; bump from the 600s default.
255+
if [[ "$test" =~ ^(HonkRecursionConstraintTest|ChonkRecursionConstraintTest) ]]; then
256+
prefix="$prefix:TIMEOUT=900s"
257+
fi
254258
echo -e "$prefix barretenberg/cpp/scripts/run_test.sh $bin_name $test"
255259
done || (echo "Failed to list tests in $bin" && exit 1)
256260
done

0 commit comments

Comments
 (0)