Skip to content

Commit

Permalink
fix [WIP]: update verify_task_allocation method
Browse files Browse the repository at this point in the history
Should do something with the resolution failures
  • Loading branch information
jhonasiv committed Dec 23, 2024
1 parent 80ef40b commit d3a5cf6
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions lib/syskit/test/stub_network.rb
Original file line number Diff line number Diff line change
Expand Up @@ -105,10 +105,13 @@ def apply_in_transaction(trsc, root_tasks, remote_task: false)
trsc.static_garbage_collect(
protected_roots: trsc_new_roots | trsc_other_tasks
)
NetworkGeneration::SystemNetworkGenerator
resolution_failures = NetworkGeneration::SystemNetworkGenerator
.verify_task_allocation(
trsc, components: trsc_tasks.find_all(&:plan)
trsc, syskit_tasks, merge_solver,
components: trsc_tasks.find_all(&:plan)
)
# DO SOMETHING WITH THE RESOLUTION FAILURES, PROPAGATE?!

mapped_tasks
end

Expand Down

0 comments on commit d3a5cf6

Please sign in to comment.