Skip to content

Commit b6a8894

Browse files
committed
fix(ci): raise AVM check-circuit input timeout
1 parent 92da992 commit b6a8894

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

yarn-project/end-to-end/bootstrap.sh

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -198,11 +198,11 @@ function avm_check_circuit_cmds {
198198
# Commands run from repo root via parallelize, so use path from top
199199
local dump_dir_from_top="yarn-project/end-to-end/$default_avm_inputs_dump_dir"
200200

201-
# Specify timeout and resources
202-
# WARNING: theoretically, transactions could need more CPU and MEM than we allocate by default.
203-
# In that case, they might start timing out. For now, all of the e2e test txs seem to be relatively
204-
# small and the AVM can run check-circuit with limited resources.
205-
local prefix="$hash:ISOLATE=1:TIMEOUT=30s"
201+
# Specify timeout and resources.
202+
# Some generated AVM inputs are large enough to need more than the default 30s
203+
# run_test_cmd timeout once trace generation and circuit checking are included.
204+
local timeout=${AVM_CHECK_CIRCUIT_TIMEOUT:-90s}
205+
local prefix="$hash:ISOLATE=1:TIMEOUT=$timeout"
206206

207207
# Find all .bin files in the dump directory (handles nested dirs)
208208
for input_file in "$default_avm_inputs_dump_dir"/*/*.bin "$default_avm_inputs_dump_dir"/*/*/*.bin; do

0 commit comments

Comments
 (0)