Skip to content
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

Port unit tests to ROS 2 + Fix CBOR conversion and PNG compression #882

Merged
merged 17 commits into from
Oct 26, 2023

Conversation

sea-bass
Copy link
Contributor

@sea-bass sea-bass commented Oct 12, 2023

This PR seeks to bring all rosbridge_library unit tests up to date with ROS 2 so that CI is actually testing most of the functionality.

There is one test that raises an exception when unadvertising a service, and I think it's this issue: ros2/rclpy#1098 -- so just left a TODO for now.

Closes #856

@sea-bass sea-bass changed the title Port unit tests to ROS 2 Port unit tests to ROS 2 + Fix CBOR conversion and PNG compression Oct 12, 2023
@sea-bass sea-bass marked this pull request as ready for review October 13, 2023 01:08
@sea-bass
Copy link
Contributor Author

@achim-k This is ready for review. I've run the unit tests numerous times to try see if anything is flaky, and seems to be in good shape.

Copy link

@eholum eholum left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Amazing, ran tests in my ws (humble) and everything seems to pass. I can't speak much to the API changes so just throwing in some nit: suggestions where I saw them.

rosbridge_library/src/rosbridge_library/util/ros.py Outdated Show resolved Hide resolved
rosbridge_library/test/capabilities/test_call_service.py Outdated Show resolved Hide resolved
@sea-bass sea-bass self-assigned this Oct 24, 2023
@sea-bass sea-bass requested a review from eholum October 25, 2023 15:02
Copy link
Contributor

@EzraBrooks EzraBrooks left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. Having functional tests is good 😆

@sea-bass sea-bass merged commit 501a926 into RobotWebTools:ros2 Oct 26, 2023
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

nav_msgs/OccupencyGrid is breaking in Humble
3 participants