Skip to content

Commit 33829b3

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 tweak the iteration count on all our fuzz jobs to get them running in more consistent times. Further, 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 c4d23bc commit 33829b3

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

fuzz/ci-fuzz.sh

Lines changed: 6 additions & 4 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"
29-
elif [ "$FILE" = "full_stack_target" ]; then
30-
HFUZZ_RUN_ARGS="$HFUZZ_RUN_ARGS -t0 -N1000000"
28+
HFUZZ_RUN_ARGS="$HFUZZ_RUN_ARGS -F 64 -N5000"
29+
elif [ "$FILE" = "process_network_graph_target" -o "$FILE" = "full_stack_target" -o "$FILE" = "router_target" ]; then
30+
HFUZZ_RUN_ARGS="$HFUZZ_RUN_ARGS -N50000"
31+
elif [ "$FILE" = "indexedmap_target" ]; then
32+
HFUZZ_RUN_ARGS="$HFUZZ_RUN_ARGS -N500000"
3133
else
32-
HFUZZ_RUN_ARGS="$HFUZZ_RUN_ARGS -N1000000"
34+
HFUZZ_RUN_ARGS="$HFUZZ_RUN_ARGS -N2500000"
3335
fi
3436
export HFUZZ_RUN_ARGS
3537
cargo --color always hfuzz run $FILE

0 commit comments

Comments
 (0)