Skip to content

Commit

Permalink
Dont enforce a 25 second timeout. (#4607) (#4636)
Browse files Browse the repository at this point in the history
This was requested by chrome. I can't really think of a strong
justification for this paternalistic behavior, and I can think of some
against it, mainly that it causes CF to behave unlike the user expects.

Cherry-picked from 01239a0 in master.

Fixes: b/382207330

Co-authored-by: jonathanmetzman <31354670+jonathanmetzman@users.noreply.github.com>
  • Loading branch information
adetaylor and jonathanmetzman authored Jan 23, 2025
1 parent a05311d commit 2f7c637
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/clusterfuzz/_internal/bot/fuzzers/libFuzzer/fuzzer.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ def get_arguments(fuzzer_path) -> options.FuzzerArguments:
rss_limit_mb = arguments.get('rss_limit_mb', constructor=int)
timeout = arguments.get('timeout', constructor=int)

if timeout is None or timeout > constants.DEFAULT_TIMEOUT_LIMIT:
if timeout is None:
arguments[constants.TIMEOUT_FLAGNAME] = constants.DEFAULT_TIMEOUT_LIMIT

if not rss_limit_mb and (utils.is_chromium() or
Expand Down

0 comments on commit 2f7c637

Please sign in to comment.