diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 56221fc48d..7424c3a7a4 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -666,7 +666,7 @@ jobs: - determine_changes # Only runs on pull requests, since that is the only we way we can find the base version for comparison. if: ${{ !contains(github.event.pull_request.labels.*.name, 'no-test') && github.event_name == 'pull_request' && (needs.determine_changes.outputs.ty == 'true' || needs.determine_changes.outputs.py-fuzzer == 'true') }} - timeout-minutes: 20 + timeout-minutes: 5 steps: - uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0 with: diff --git a/python/py-fuzzer/fuzz.py b/python/py-fuzzer/fuzz.py index b5a14abc1b..895e74dad8 100644 --- a/python/py-fuzzer/fuzz.py +++ b/python/py-fuzzer/fuzz.py @@ -152,16 +152,13 @@ class FuzzResult: def fuzz_code(seed: Seed, args: ResolvedCliArgs) -> FuzzResult: """Return a `FuzzResult` instance describing the fuzzing result from this seed.""" - # TODO debug slowness of these seeds - skip_check = seed in {32, 56, 208} - code = generate_random_code(seed) bug_found = False minimizer_callback: Callable[[str], bool] | None = None if args.baseline_executable_path is None: only_new_bugs = False - if not skip_check and contains_bug( + if contains_bug( code, executable=args.executable, executable_path=args.test_executable_path ): bug_found = True @@ -172,7 +169,7 @@ def fuzz_code(seed: Seed, args: ResolvedCliArgs) -> FuzzResult: ) else: only_new_bugs = True - if not skip_check and contains_new_bug( + if contains_new_bug( code, executable=args.executable, test_executable_path=args.test_executable_path,