Skip to content

Commit

Permalink
Fix stats uploading
Browse files Browse the repository at this point in the history
Fixes: #4217
  • Loading branch information
jonathanmetzman committed Sep 12, 2024
1 parent 069cad0 commit c40f980
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/clusterfuzz/_internal/bot/tasks/utasks/fuzz_task.py
Original file line number Diff line number Diff line change
Expand Up @@ -859,7 +859,9 @@ def postprocess_process_crashes(uworker_input: uworker_msg_pb2.Input,
# Artificial delay to throttle appengine updates.
time.sleep(1)

upload_job_run_stats(fully_qualified_fuzzer_name, uworker_input.job_type,
# If there is no fuzz_target, this will be None.
stats_fuzzer_name = fuzz_target or fully_qualified_fuzzer_name
upload_job_run_stats(stats_fuzzer_name, uworker_input.job_type,
fuzz_task_output.crash_revision,
fuzz_task_output.job_run_timestamp, new_crash_count,
known_crash_count, fuzz_task_output.testcases_executed,
Expand Down

0 comments on commit c40f980

Please sign in to comment.