Skip to content

Commit 8f9bdf3

Browse files
committed
workflows/fuzzing.yml: Add timeout equal to total run time
Just in case some of the values cause an infinite loop (or at least take a _very_ long time, see #7708), timeout, with the same duration as the maximum total fuzzing time. That'll allow us to _see_ what input causes the infinite loop.
1 parent 2caeaf5 commit 8f9bdf3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/fuzzing.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ jobs:
8484
shell: bash
8585
continue-on-error: ${{ !matrix.test-target.name.should_pass }}
8686
run: |
87-
cargo +nightly fuzz run ${{ matrix.test-target.name }} -- -max_total_time=${{ env.RUN_FOR }} -detect_leaks=0
87+
cargo +nightly fuzz run ${{ matrix.test-target.name }} -- -max_total_time=${{ env.RUN_FOR }} -timeout=${{ env.RUN_FOR }} -detect_leaks=0
8888
- name: Save Corpus Cache
8989
uses: actions/cache/save@v4
9090
with:

0 commit comments

Comments
 (0)