Skip to content

Commit

Permalink
ci: Reduce fuzz testing duration so that it can reliably pass for the…
Browse files Browse the repository at this point in the history
… merge queue
  • Loading branch information
Pr0methean committed Apr 30, 2024
1 parent fd0a113 commit 8d1c968
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand All @@ -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
Expand Down Expand Up @@ -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
Expand All @@ -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
Expand Down

0 comments on commit 8d1c968

Please sign in to comment.