-
Notifications
You must be signed in to change notification settings - Fork 43
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
Replace deprecated spin_until_future_complete #2
Conversation
Due to change in RCLCPP - ros2/rclcpp#1874 Pull request |
Thanks for the PR @hliberacki! Since this GitHub repo is just a mirror, do you mind moving this to the GitLab repo? https://gitlab.com/ros-tracing/ros2_tracing If not, I can do it! |
@christophebedard I wasn't aware of that :) good to know. Yes, I can move it to GitLab no problem - yet I will be able to do it later today (in 3-4 hours from now, since I am off my PC at the moment). If you'd like to have it quicker and be kind enough to do it for me, it would be great as well :) |
I opened a merge request with your commit here: https://gitlab.com/ros-tracing/ros2_tracing/-/merge_requests/291. I'll close this PR now. |
Re-opening this since the repo was moved to GitHub. |
f145774
to
ef43eb4
Compare
Test failures are due to #27 |
spin_until_future_complete
spin_until_future_complete
ef43eb4
to
13dcc56
Compare
I re-targeted the PR from |
Signed-off-by: Takayuki AKAMINE <[email protected]> Signed-off-by: Takayuki AKAMINE <[email protected]>
I believe that g++ does not guarantee what a particular symbol name will be. Thus, in g++ 11.4.0 (what is in Ubuntu 22.04), the symbol name here ended with "#2", while in g++ 13.2.0 (what is in Ubuntu 24.04), the symbol name ends with "#1". Given that we can't guarantee this, just search for the first part of the name up to the number, which should be good enough for this test. Signed-off-by: Chris Lalancette <[email protected]>
* Use a memcmp for the expected symbol name. I believe that g++ does not guarantee what a particular symbol name will be. Thus, in g++ 11.4.0 (what is in Ubuntu 22.04), the symbol name here ended with "#2", while in g++ 13.2.0 (what is in Ubuntu 24.04), the symbol name ends with "#1". Given that we can't guarantee this, just search for the first part of the name up to the number, which should be good enough for this test. Signed-off-by: Chris Lalancette <[email protected]>
…ete` Signed-off-by: Hubert Liberacki <[email protected]>
13dcc56
to
7c14027
Compare
spin_until_future_complete
As per the discussion in ros2/rclcpp#2475 (comment), we will not be doing this. Closing. |
Replace deprecated
spin_until_future_complete
withspin_until_complete
Signed-off-by: Hubert Liberacki [email protected]
action-ros-ci-repos-override: https://gist.githubusercontent.com/christophebedard/11821dfe3c6bc30740424e3f1aadc00a/raw/c89766f8e94f902dc1845a774eb0073f7eabcf10/ros2.repos