Skip to content

Commit e5aa5df

Browse files
committed
fuzz: increase per-input timeout to 3s for chanmon_consistency
The default 1s timeout is too short for chanmon_consistency_target, causing inputs to be killed before completion. AI tools were used in preparing this commit.
1 parent 1f62267 commit e5aa5df

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

fuzz/ci-fuzz.sh

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,9 @@ for TARGET in src/bin/*.rs; do
4848
ITERATIONS=$((CORPUS_COUNT * 8 + 1000))
4949
log_time "Fuzzing $FILE (corpus: $CORPUS_COUNT, iterations: $ITERATIONS)"
5050
HFUZZ_RUN_ARGS="--exit_upon_crash -q -n8 -N $ITERATIONS --run_time 600"
51-
if [ "$FILE" = "chanmon_consistency_target" -o "$FILE" = "fs_store_target" ]; then
51+
if [ "$FILE" = "chanmon_consistency_target" ]; then
52+
HFUZZ_RUN_ARGS="$HFUZZ_RUN_ARGS -F 64 -t 3"
53+
elif [ "$FILE" = "fs_store_target" ]; then
5254
HFUZZ_RUN_ARGS="$HFUZZ_RUN_ARGS -F 64"
5355
fi
5456
export HFUZZ_RUN_ARGS

0 commit comments

Comments
 (0)