ci: Reduce fuzz testing duration so that it can reliably pass for the merge queue

This commit is contained in:
Chris Hennick 2024-04-29 21:22:49 -07:00
parent fd0a1133a5
commit 8d1c96892a
No known key found for this signature in database
GPG key ID: DA47AABA4961C509

View file

@ -113,11 +113,11 @@ jobs:
command: fuzz
args: build --all-features fuzz_read
- name: run fuzz
timeout-minutes: 330
timeout-minutes: 181
uses: actions-rs/cargo@v1
with:
command: fuzz
args: run --all-features fuzz_read -- fuzz/corpus/seed -timeout=10s -fork=2 -runs=50000000 -max_len=1300 -len_control=0 -dict=fuzz/fuzz.dict
args: run --all-features fuzz_read -- fuzz/corpus/seed -timeout=10s -fork=2 -runs=25000000 -max_len=1300 -len_control=0 -dict=fuzz/fuzz.dict
- name: Upload any failure inputs
if: always()
uses: actions/upload-artifact@v4
@ -158,7 +158,7 @@ jobs:
command: fuzz
args: build --no-default-features fuzz_read
- name: run fuzz
timeout-minutes: 331
timeout-minutes: 181
uses: actions-rs/cargo@v1
with:
command: fuzz
@ -203,11 +203,11 @@ jobs:
command: fuzz
args: build --all-features fuzz_write
- name: run fuzz
timeout-minutes: 331
timeout-minutes: 181
uses: actions-rs/cargo@v1
with:
command: fuzz
args: run --all-features fuzz_write -- -timeout=10s -fork=2 -runs=5000000 -max_len=1100 -len_control=200 -dict=fuzz/fuzz.dict
args: run --all-features fuzz_write -- -timeout=10s -fork=2 -runs=2500000 -max_len=1100 -len_control=200 -dict=fuzz/fuzz.dict
- name: Upload any failure inputs
if: always()
uses: actions/upload-artifact@v4
@ -220,7 +220,7 @@ jobs:
uses: actions-rs/cargo@v1
with:
command: fuzz
args: cmin --all-features fuzz_write fuzz/corpus/seed -- fuzz/corpus/new_seed
args: cmin --all-features fuzz_write fuzz/corpus/fuzz_write -- fuzz/corpus/new_seed
- name: Upload updated seed corpus
if: always()
uses: actions/upload-artifact@v4
@ -248,7 +248,7 @@ jobs:
command: fuzz
args: build --no-default-features fuzz_write
- name: run fuzz
timeout-minutes: 331
timeout-minutes: 181
uses: actions-rs/cargo@v1
with:
command: fuzz
@ -265,7 +265,7 @@ jobs:
uses: actions-rs/cargo@v1
with:
command: fuzz
args: cmin --no-default-features fuzz_write fuzz/corpus/seed -- fuzz/corpus/new_seed
args: cmin --no-default-features fuzz_write fuzz/corpus/fuzz_write -- fuzz/corpus/new_seed
- name: Upload updated seed corpus
if: always()
uses: actions/upload-artifact@v4