Skip to content

Commit

Permalink
Revert "Correctly fetch batch regions in fuzz task (#4569)"
Browse files Browse the repository at this point in the history
This reverts commit 8d7b9ab.
  • Loading branch information
jonathanmetzman committed Dec 29, 2024
1 parent 8d7b9ab commit ac2bd57
Showing 1 changed file with 2 additions and 9 deletions.
11 changes: 2 additions & 9 deletions src/clusterfuzz/_internal/cron/schedule_fuzz.py
Original file line number Diff line number Diff line change
Expand Up @@ -182,15 +182,8 @@ def get_fuzz_tasks(available_cpus: int) -> [tasks.Task]:


def get_batch_regions(batch_config):
fuzz_subconf_names = {
subconf['name'] for subconf in batch_config.get(
'mapping.LINUX-PREEMPTIBLE-UNPRIVILEGED.subconfigs')
}
subconfs = batch_config.get('subconfigs')
return list(
set(subconfs[subconf]['region']
for subconf in subconfs
if subconf in fuzz_subconf_names))
mapping = batch_config.get('mapping')
return list(set(config['gce_region'] for config in mapping.values()))


def schedule_fuzz_tasks() -> bool:
Expand Down

0 comments on commit ac2bd57

Please sign in to comment.