Skip to content

Commit c729fcd

Browse files
committed
fix
Signed-off-by: Koichi <koichi.imai.2@tier4.jp>
1 parent 1774495 commit c729fcd

1 file changed

Lines changed: 2 additions & 7 deletions

File tree

src/agnocastlib/test/integration/test_agnocast_create_timer.cpp

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -14,16 +14,11 @@ using namespace std::chrono_literals;
1414
class CreateTimerTest : public ::testing::Test
1515
{
1616
protected:
17-
void SetUp() override { rclcpp::init(0, nullptr); }
18-
1917
void TearDown() override
2018
{
2119
// Clean up any timer info registered during tests
22-
{
23-
std::lock_guard<std::mutex> lock(agnocast::id2_timer_info_mtx);
24-
agnocast::id2_timer_info.clear();
25-
}
26-
rclcpp::shutdown();
20+
std::lock_guard<std::mutex> lock(agnocast::id2_timer_info_mtx);
21+
agnocast::id2_timer_info.clear();
2722
}
2823
};
2924

0 commit comments

Comments
 (0)