test(fuzz): Increase runs per fuzz_until_converged.sh iteration to 25m when time allows

This commit is contained in:
Chris Hennick 2024-06-29 20:01:15 -07:00
parent 11db7c83ce
commit 319fafdefe
No known key found for this signature in database
GPG key ID: DA47AABA4961C509

View file

@ -9,7 +9,7 @@ while [[ $iters_without_improvement -lt $MAX_ITERS_WITHOUT_IMPROVEMENT ]]; do
cp -r "fuzz/corpus/fuzz_$1" "fuzz/corpus/fuzz_$1_old"
cargo fuzz run --all-features "fuzz_$1" "fuzz/corpus/fuzz_$1" -- \
-dict=fuzz/fuzz.dict -max_len="$2" -fork="$ncpus" \
-max_total_time=1800 -runs=20000000 -rss_limit_mb=8192 -timeout=30
-max_total_time=1800 -runs=25000000 -rss_limit_mb=8192 -timeout=30
./recursive-fuzz-cmin.sh "$1" "$2"
if diff "fuzz/corpus/fuzz_$1" "fuzz/corpus/fuzz_$1_old"; then
iters_without_improvement=$(( iters_without_improvement + 1 ))