Skip to content

Commit 5099c55

Browse files
committed
fix: increase test timeout for heavy recursion tests in debug build
Port fix from PR #22347 (merge-train/barretenberg) to next. HonkRecursionConstraintTest and ChonkRecursionConstraintTest routinely take 400-600s in debug builds, exceeding the 600s default timeout. Bump to 900s and add ChonkRecursionConstraintTest to the resource group.
1 parent cf1a239 commit 5099c55

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

barretenberg/cpp/bootstrap.sh

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

0 commit comments

Comments
 (0)