feat: Added check for double usage of entities in rcl_waitset#1206
feat: Added check for double usage of entities in rcl_waitset#1206jmachowinski wants to merge 1 commit intoros2:rollingfrom
Conversation
f2041ac to
13ad17c
Compare
|
Pulls: #1206 |
13ad17c to
53a0d40
Compare
|
Pulls: #1206 |
53a0d40 to
1cdb729
Compare
|
Pulls: #1206 |
|
This need to be merged after ros2/rclcpp#2714, as this contains the fix for the two identical guard conditions added by the executor. |
|
Pulls: #1206 |
fujitatomoya
left a comment
There was a problem hiding this comment.
lgtm with green CI.
|
https://ci.ros2.org/job/ci_windows/23361/testReport/junit/(root)/test_launch_ros/pytest_missing_result/ is unrelated. @jmachowinski if you want to wait for more reviews on this, please do that. i will leave this to you. |
|
Besides the minor request to add a comment, could we have a unit-test for this? |
1cdb729 to
d1f6983
Compare
|
Added a test case for duplicate timer and duplicate guard condition. I didn't add tests for subscribers and services, as the boilerplate for setup would be a bit much and it would check the identical code path. |
d1f6983 to
ae7e9a3
Compare
|
Pulls: #1206 |
ahcorde
left a comment
There was a problem hiding this comment.
Do you mind to merge with rolling?
|
@Mergifyio rebase |
❌ Pull request can't be updated with latest base branch changesDetailsMergify needs the author permission to update the base branch of the pull request. |
|
@jmachowinski Do you mind to merge with |
Adding entities twice to a waitset is not allowed, and will introduce subtle bugs. Therefore the rcl_wait function will not explicitly check for duplicated entries in the waitset. Signed-off-by: Janosch Machowinski <J.Machowinski@cellumation.com>
ae7e9a3 to
e5479e2
Compare
|
Pulls: #1206 |
Adding entities twice to a waitset is not allowed, and will introduce subtle bugs. Therefore the rcl_wait function will not explicitly check for duplicated entries in the waitset.
@wjwwood @mjcarroll @alsora This commit adds the check that we agreed on in the last client workgroup meeting