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

Skip some event tests on rmw_zenoh #1180

Merged
merged 5 commits into from
Sep 5, 2024
Merged

Skip some event tests on rmw_zenoh #1180

merged 5 commits into from
Sep 5, 2024

Conversation

ahcorde
Copy link
Contributor

@ahcorde ahcorde commented Aug 29, 2024

Some events are still not supported on rmw_zenoh_cpp which makes CI to show a failure test. This PR skip the test when the event is not well initialized or if the feature is not implemented the tests is completely skipped.

Signed-off-by: Alejandro Hernández Cordero <ahcorde@gmail.com>
Signed-off-by: Alejandro Hernández Cordero <ahcorde@gmail.com>
Signed-off-by: Alejandro Hernández Cordero <ahcorde@gmail.com>
Signed-off-by: Alejandro Hernández Cordero <ahcorde@gmail.com>
Signed-off-by: Alejandro Hernández Cordero <ahcorde@gmail.com>
Copy link
Collaborator

@fujitatomoya fujitatomoya left a comment

Choose a reason for hiding this comment

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

lgtm with green CI

@fujitatomoya
Copy link
Collaborator

Pulls: #1180
Gist: https://gist.githubusercontent.com/fujitatomoya/f07d09ef21e73eac759a5bb05d9edbec/raw/69aafd0ad176bedb0f54346c48ba1bb28295b9df/ros2.repos
BUILD args: --packages-up-to rcl
TEST args: --packages-select rcl
ROS Distro: rolling
Job: ci_launcher
ci_launcher ran: https://ci.ros2.org/job/ci_launcher/14508

  • Linux Build Status
  • Linux-aarch64 Build Status
  • Linux-rhel Build Status
  • Windows Build Status

@ahcorde ahcorde merged commit 61077aa into rolling Sep 5, 2024
3 checks passed
@ahcorde ahcorde deleted the ahcorde/rolling/zenoh branch September 5, 2024 12:03
@@ -866,6 +891,10 @@ void event_callback(const void * user_data, size_t number_of_events)
*/
TEST_F(TestEventFixture, test_pub_matched_unmatched_event)
{
if (std::string(rmw_get_implementation_identifier()).find("rmw_zenoh_cpp") == 0) {
Copy link
Member

@Yadunund Yadunund Sep 26, 2024

Choose a reason for hiding this comment

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

@ahcorde this event should we supported in rmw_zenoh.

@@ -977,6 +1006,10 @@ TEST_F(TestEventFixture, test_pub_matched_unmatched_event)
*/
TEST_F(TestEventFixture, test_sub_matched_unmatched_event)
{
if (std::string(rmw_get_implementation_identifier()).find("rmw_zenoh_cpp") == 0) {
Copy link
Member

@Yadunund Yadunund Sep 26, 2024

Choose a reason for hiding this comment

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

@ahcorde this event should we supported in rmw_zenoh.

@@ -1178,6 +1211,10 @@ TEST_F(TestEventFixture, test_pub_previous_matched_event)

TEST_F(TestEventFixture, test_sub_previous_matched_event)
{
if (std::string(rmw_get_implementation_identifier()).find("rmw_zenoh_cpp") == 0) {
Copy link
Member

@Yadunund Yadunund Sep 26, 2024

Choose a reason for hiding this comment

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

@ahcorde this event should we supported in rmw_zenoh.

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.

3 participants