From 822d1180891c3976b71b52782f93c080258ebcea Mon Sep 17 00:00:00 2001 From: Chris Hennick <4961925+Pr0methean@users.noreply.github.com> Date: Wed, 29 May 2024 13:58:08 -0700 Subject: [PATCH] ci(fuzz): Reduce max_len to 20,000 since it's taking too long --- .github/workflows/ci.yaml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 77a54826..90a43b1e 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -119,7 +119,7 @@ jobs: uses: actions-rs/cargo@v1 with: command: fuzz - args: run --all-features fuzz_read -- fuzz/corpus/fuzz_read -timeout=10s -fork=2 -runs=25000000 -max_len=100000 -len_control=0 -dict=fuzz/fuzz.dict + args: run --all-features fuzz_read -- fuzz/corpus/fuzz_read -timeout=10s -fork=2 -runs=25000000 -max_len=20000 -len_control=0 -dict=fuzz/fuzz.dict - name: Upload any failure inputs if: always() uses: actions/upload-artifact@v4 @@ -132,7 +132,7 @@ jobs: uses: actions-rs/cargo@v1 with: command: fuzz - args: cmin --all-features fuzz_read fuzz/corpus/fuzz_read -- -max_len=100000 -dict=fuzz/fuzz.dict fuzz/corpus/new_seed + args: cmin --all-features fuzz_read fuzz/corpus/fuzz_read -- -max_len=20000 -dict=fuzz/fuzz.dict fuzz/corpus/new_seed - name: Upload updated seed corpus if: always() uses: actions/upload-artifact@v4 @@ -167,7 +167,7 @@ jobs: uses: actions-rs/cargo@v1 with: command: fuzz - args: run --no-default-features fuzz_read fuzz/corpus/fuzz_read -- -timeout=10s -fork=2 -runs=40000000 -max_total_time=19800 -max_len=100000 -dict=fuzz/fuzz.dict + args: run --no-default-features fuzz_read fuzz/corpus/fuzz_read -- -timeout=10s -fork=2 -runs=40000000 -max_total_time=19800 -max_len=20000 -dict=fuzz/fuzz.dict - name: Upload any failure inputs if: always() uses: actions/upload-artifact@v4 @@ -180,7 +180,7 @@ jobs: uses: actions-rs/cargo@v1 with: command: fuzz - args: cmin --no-default-features fuzz_read fuzz/corpus/fuzz_read -- -max_len=100000 -dict=fuzz/fuzz.dict fuzz/corpus/new_seed + args: cmin --no-default-features fuzz_read fuzz/corpus/fuzz_read -- -max_len=20000 -dict=fuzz/fuzz.dict fuzz/corpus/new_seed - name: Upload updated seed corpus if: always() uses: actions/upload-artifact@v4