-
Notifications
You must be signed in to change notification settings - Fork 163
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
Conversation
Signed-off-by: Alejandro Hernández Cordero <[email protected]>
Signed-off-by: Alejandro Hernández Cordero <[email protected]>
Signed-off-by: Alejandro Hernández Cordero <[email protected]>
Signed-off-by: Alejandro Hernández Cordero <[email protected]>
Signed-off-by: Alejandro Hernández Cordero <[email protected]>
There was a problem hiding this 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
Pulls: #1180 |
@@ -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) { |
There was a problem hiding this comment.
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) { |
There was a problem hiding this comment.
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) { |
There was a problem hiding this comment.
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
.
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.