Skip to content

Commit 395a46f

Browse files
committed
Reduce CI fuzz iterations as we're now timing out
When we made `test_node_counter_consistency` more aggressively run, our `process_network_graph` fuzzer got materially slower, resulting in consistent fuzz CI job timeouts. Thus, here, we reduce the iteration count on `process_network_graph` (and `chanmon_consistency`) to get our fuzz job passing again. Finally, we further reduce `full_stack_target` iterations in anticipation of a later commit which will start using our hard-coded fuzz seeds, creating substantially more coverage and slowing down fuzzing iterations.
1 parent 2e435de commit 395a46f

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

fuzz/ci-fuzz.sh

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,11 +25,13 @@ for TARGET in src/bin/*.rs; do
2525
FILE="${FILENAME%.*}"
2626
HFUZZ_RUN_ARGS="--exit_upon_crash -v -n2"
2727
if [ "$FILE" = "chanmon_consistency_target" ]; then
28-
HFUZZ_RUN_ARGS="$HFUZZ_RUN_ARGS -F 64 -N100000"
28+
HFUZZ_RUN_ARGS="$HFUZZ_RUN_ARGS -F 64 -N10000"
29+
elif [ "$FILE" = "process_network_graph_target" ]; then
30+
HFUZZ_RUN_ARGS="$HFUZZ_RUN_ARGS -N50000"
2931
elif [ "$FILE" = "full_stack_target" ]; then
30-
HFUZZ_RUN_ARGS="$HFUZZ_RUN_ARGS -t0 -N1000000"
32+
HFUZZ_RUN_ARGS="$HFUZZ_RUN_ARGS -N50000"
3133
else
32-
HFUZZ_RUN_ARGS="$HFUZZ_RUN_ARGS -N1000000"
34+
HFUZZ_RUN_ARGS="$HFUZZ_RUN_ARGS -N5000000"
3335
fi
3436
export HFUZZ_RUN_ARGS
3537
cargo --color always hfuzz run $FILE

0 commit comments

Comments
 (0)