Skip to content

Commit

Permalink
Remove test failing MacOS
Browse files Browse the repository at this point in the history
Signed-off-by: Jorge Perez <jjperez@ekumenlabs.com>
  • Loading branch information
Blast545 committed Sep 28, 2020
1 parent 5493c3f commit b6a7032
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions rclcpp/test/rclcpp/test_graph_listener.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -105,16 +105,6 @@ TEST_F(TestGraphListener, error_start_graph_listener) {
graph_listener()->start_if_not_started(),
std::runtime_error("failed to initialize wait set: error not set"));
}
{
auto context_to_destroy = std::make_shared<rclcpp::contexts::DefaultContext>();
context_to_destroy->init(0, nullptr);
auto graph_listener_error =
std::make_shared<rclcpp::graph_listener::GraphListener>(context_to_destroy);
context_to_destroy.reset();
RCLCPP_EXPECT_THROW_EQ(
graph_listener_error->start_if_not_started(),
std::runtime_error("parent context was destroyed"));
}
{
EXPECT_NO_THROW(graph_listener()->shutdown());
RCLCPP_EXPECT_THROW_EQ(
Expand Down

0 comments on commit b6a7032

Please sign in to comment.