Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove test push #4507

Closed
wants to merge 1 commit into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 1 addition & 4 deletions src/clusterfuzz/_internal/cron/schedule_fuzz.py
Original file line number Diff line number Diff line change
Expand Up @@ -188,20 +188,17 @@ def get_batch_regions(batch_config):

def schedule_fuzz_tasks() -> bool:
"""Schedules fuzz tasks."""
# TODO(metzman): Remove this when we are ready to run on Chrome.
start = time.time()

batch_config = local_config.BatchConfig()
regions = get_batch_regions(batch_config)
# TODO(metzman): Make it possible to use multiple regions.
if len(regions) > 1:
region = 'us-central1'
else:
region = regions[0]
project = batch_config.get('project')
available_cpus = get_available_cpus(project, region)
# TODO(metzman): Remove this as we move from experimental code to production.
available_cpus = min(available_cpus, 2500)
available_cpus = min(available_cpus, 3000)
fuzz_tasks = get_fuzz_tasks(available_cpus)
if not fuzz_tasks:
logs.error('No fuzz tasks found to schedule.')
Expand Down
Loading