-
Notifications
You must be signed in to change notification settings - Fork 74
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
Unit tests for composition actions #15
base: rolling
Are you sure you want to change the base?
Conversation
60c4d37
to
1c009e2
Compare
@hidmic The test passes running with:
This isn't ready to be merged as the test is not run with |
That's a good point, we don't have a tool for that atm. I've filed an issue ros2/launch#237. |
@sloretz with ros2/launch#236 now we can call |
@sloretz once ros2/launch#312 goes in, we can have launch tests in pure Python packages. |
A few issues that may be relevant: |
Signed-off-by: Shane Loretz <[email protected]>
Signed-off-by: Shane Loretz <[email protected]>
Signed-off-by: Shane Loretz <[email protected]>
1c009e2
to
5e9592a
Compare
@sloretz I rebased this and I'm going to try and resurrect it in general, hope you don't mind. |
@wjwwood friendly ping |
I do not remember what I was going to do to "resurrect" these tests... I'll re-review it, but I'm afraid after dropping the ball on this I've lost context. |
I'm guessing it needs to be updated to use the "launch tests from python packages" updates and/or changed to not use |
This is the start of unit tests for composition. It depends on #8, so if you'd like to run locally make a branch that merges this branch and #8 .
Issues to resolve:
launch_test test_launch_ros/test/rostest/composition.test.py
part of the test suite in a pure python package?ComposableNodeDescription
LaunchComposableNodes
returns actions to be executed when the container emits the eventOnProcessStart
, but that means they won't trigger if the container process is already started. At the moment composable nodes launching only works via thecomposable_node_descriptions
on the container action