Skip to content

Commit

Permalink
Remove test not working on Windows
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 b6a7032 commit 57342f8
Showing 1 changed file with 0 additions and 14 deletions.
14 changes: 0 additions & 14 deletions rclcpp/test/rclcpp/test_graph_listener.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -216,20 +216,6 @@ TEST_F(TestGraphListener, error_run_graph_listener_mock_wait_timeout) {
std::runtime_error("rcl_wait unexpectedly timed out"));
}

TEST_F(TestGraphListener, error_run_graph_listener_mock_get_graph_cond) {
auto global_context = rclcpp::contexts::get_global_default_context();
auto graph_listener_test =
std::make_shared<TestGraphListenerProtectedMethods>(global_context);
graph_listener_test->mock_start_thread();
EXPECT_NO_THROW(graph_listener_test->add_node(node_graph()));
EXPECT_NE(nullptr, node()->get_node_graph_interface()->get_graph_event());
auto mock_wait_set_clear = mocking_utils::patch_and_return(
"lib:rclcpp", rcl_node_get_graph_guard_condition, nullptr);
RCLCPP_EXPECT_THROW_EQ(
graph_listener_test->run_protected(),
std::runtime_error("failed to get graph guard condition: error not set"));
}

/* Add/Remove node usage */
TEST_F(TestGraphListener, test_graph_listener_add_remove_node) {
EXPECT_FALSE(graph_listener()->has_node(node_graph()));
Expand Down

0 comments on commit 57342f8

Please sign in to comment.