Skip to content

Commit 75a1125

Browse files
committed
fix: bump timeout and resources for AVM recursion tests in debug builds
AvmRecursionInnerCircuitTests.Tampering was timing out at 600s in the nightly debug build. The test runs 3 iterations of prove+verify (~3.5min each in debug mode), exceeding the default timeout. Add AvmRecursionInnerCircuitTests to the TIMEOUT=900s list and to the CPUS=4:MEM=8g resource list. Also add AvmRecursionConstraintTest to the resource list since it uses up to 7.5GB of memory.
1 parent e88ecdf commit 75a1125

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

barretenberg/cpp/bootstrap.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -248,11 +248,11 @@ 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|ChonkRecursionConstraintTest) ]]; then
251+
if [[ "$test" =~ ^(AcirAvmRecursionConstraint|ChonkKernelCapacity|AvmRecursiveTests|AvmRecursionInnerCircuitTests|AvmRecursionConstraintTest|IPARecursiveTests|HonkRecursionConstraintTest|ChonkRecursionConstraintTest) ]]; then
252252
prefix="$prefix:CPUS=4:MEM=8g"
253253
fi
254254
# These tests routinely take 400-600s in debug builds; bump from the 600s default.
255-
if [[ "$test" =~ ^(HonkRecursionConstraintTest|ChonkRecursionConstraintTest) ]]; then
255+
if [[ "$test" =~ ^(HonkRecursionConstraintTest|ChonkRecursionConstraintTest|AvmRecursionInnerCircuitTests) ]]; then
256256
prefix="$prefix:TIMEOUT=900s"
257257
fi
258258
echo -e "$prefix barretenberg/cpp/scripts/run_test.sh $bin_name $test"

0 commit comments

Comments
 (0)