call shutdown in test

This commit is contained in:
Dirk Thomas 2018-11-28 21:14:46 -08:00
parent 457b0e7077
commit 03cbc1c895

View file

@ -37,6 +37,11 @@ protected:
rclcpp::init(0, nullptr);
}
static void TearDownTestCase()
{
rclcpp::shutdown();
}
void SetUp()
{
node = std::make_shared<rclcpp::Node>("my_node");