mirror of
https://github.com/microsoft/onefuzz.git
synced 2025-06-16 11:58:09 +00:00
enable setting ensemble sync duration timer (#229)
This commit is contained in:
@ -304,6 +304,9 @@ def build_task_config(
|
||||
if TaskFeature.check_retry_count in definition.features:
|
||||
config.check_retry_count = task_config.task.check_retry_count or 0
|
||||
|
||||
if TaskFeature.ensemble_sync_delay in definition.features:
|
||||
config.ensemble_sync_delay = task_config.task.ensemble_sync_delay
|
||||
|
||||
return config
|
||||
|
||||
|
||||
|
@ -62,6 +62,7 @@ TASK_DEFINITIONS = {
|
||||
TaskFeature.target_env,
|
||||
TaskFeature.target_options,
|
||||
TaskFeature.target_workers,
|
||||
TaskFeature.ensemble_sync_delay,
|
||||
],
|
||||
vm=VmDefinition(compare=Compare.AtLeast, value=1),
|
||||
containers=[
|
||||
@ -213,6 +214,7 @@ TASK_DEFINITIONS = {
|
||||
TaskFeature.supervisor_input_marker,
|
||||
TaskFeature.wait_for_files,
|
||||
TaskFeature.stats_file,
|
||||
TaskFeature.ensemble_sync_delay,
|
||||
],
|
||||
vm=VmDefinition(compare=Compare.AtLeast, value=1),
|
||||
containers=[
|
||||
@ -299,6 +301,7 @@ TASK_DEFINITIONS = {
|
||||
TaskFeature.check_asan_log,
|
||||
TaskFeature.check_debugger,
|
||||
TaskFeature.check_retry_count,
|
||||
TaskFeature.ensemble_sync_delay,
|
||||
],
|
||||
vm=VmDefinition(compare=Compare.AtLeast, value=1),
|
||||
containers=[
|
||||
|
Reference in New Issue
Block a user