Skip to content

Commit 38e757d

Browse files
authored
chore: Tell fuzzer to use all cores on the machine (#3767)
I assumed this was the default behaviour, however, you have to specify it explicitly. Signed-off-by: Robert Kruszewski <[email protected]>
1 parent ad3d2bf commit 38e757d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/fuzz.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ jobs:
3737
AWS_REGION: 'us-east-1'
3838
AWS_ENDPOINT_URL: 'https://01e9655179bbec953276890b183039bc.r2.cloudflarestorage.com'
3939
- name: Run fuzzing target
40-
run: RUST_BACKTRACE=1 cargo fuzz run file_io -- -max_total_time=7200
40+
run: RUST_BACKTRACE=1 cargo fuzz run file_io -j "$(nproc)" -- -max_total_time=7200
4141
continue-on-error: true
4242
- name: Archive crash artifacts
4343
uses: actions/upload-artifact@v4
@@ -86,7 +86,7 @@ jobs:
8686
AWS_REGION: 'us-east-1'
8787
AWS_ENDPOINT_URL: 'https://01e9655179bbec953276890b183039bc.r2.cloudflarestorage.com'
8888
- name: Run fuzzing target
89-
run: RUST_BACKTRACE=1 cargo fuzz run array_ops -- -max_total_time=7200
89+
run: RUST_BACKTRACE=1 cargo fuzz run array_ops -j "$(nproc)" -- -max_total_time=7200
9090
continue-on-error: true
9191
- name: Archive crash artifacts
9292
uses: actions/upload-artifact@v4

0 commit comments

Comments
 (0)