-
Notifications
You must be signed in to change notification settings - Fork 311
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
Sort chained controllers #877
Conversation
@sgmurray can you please contact me somehow? I was sending you Email but you didn't answer... |
// new value: "START_DOWNSTREAM_CTRLS" --> start "downstream" controllers in a controllers chain | ||
// | ||
TEST_P(TestControllerChainingWithControllerManager, test_chained_controllers_random_order) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm sorry but I don't get what this test does. It feels like this is testing multiple components and various random things... We should clarify the implementation of this. I don't get why the internal counter check should be different, I don't get why a "random order test" starts with "add all controllers IN RESERVE EXECUTION ORDER" ?? so it's ordered, not random :D
@@ -489,10 +491,112 @@ controller_interface::return_type ControllerManager::configure_controller( | |||
return controller_interface::return_type::ERROR; | |||
} | |||
resource_manager_->import_controller_reference_interfaces(controller_name, interfaces); | |||
} | |||
|
|||
std::vector<ControllerSpec> & unused_controller_list = |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this code is very complex as all entangled sorting algo implementations tend to be. I'd prefer if it was in a separate function so it can be unit tested.
This pull request is in conflict. Could you fix it @sgmurray? |
closing in favour of #1063 |
fix #853