reenable tests for rcl_node_get_graph_guard_condition for all rmw impl
This commit is contained in:
parent
e1bfa26cea
commit
283e476c26
1 changed files with 20 additions and 25 deletions
|
@ -272,10 +272,6 @@ TEST_F(CLASSNAME(TestNodeFixture, RMW_IMPLEMENTATION), test_rcl_node_accessors)
|
|||
stop_memory_checking();
|
||||
EXPECT_NE(0u, instance_id);
|
||||
// Test rcl_node_get_graph_guard_condition
|
||||
std::string rmw_id(rmw_get_implementation_identifier());
|
||||
if (rmw_id.find("opensplice") != std::string::npos) {
|
||||
// Only test with opensplice for now, as connext and fastrtps are not working.
|
||||
// TODO(wjwwood): remove this check when more middlewares implement this
|
||||
const rcl_guard_condition_t * graph_guard_condition = nullptr;
|
||||
graph_guard_condition = rcl_node_get_graph_guard_condition(nullptr);
|
||||
EXPECT_EQ(nullptr, graph_guard_condition);
|
||||
|
@ -297,7 +293,6 @@ TEST_F(CLASSNAME(TestNodeFixture, RMW_IMPLEMENTATION), test_rcl_node_accessors)
|
|||
stop_memory_checking();
|
||||
EXPECT_NE(nullptr, graph_guard_condition);
|
||||
}
|
||||
}
|
||||
|
||||
/* Tests the node life cycle, including rcl_node_init() and rcl_node_fini().
|
||||
*/
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue