Skip to content

Commit

Permalink
Remove an unused variable from the events executor tests. (ros2#2270)
Browse files Browse the repository at this point in the history
Signed-off-by: Chris Lalancette <clalancette@gmail.com>
  • Loading branch information
clalancette authored and Barry-Xu-2018 committed Jan 12, 2024
1 parent e62457d commit 6a0682f
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions rclcpp/test/rclcpp/executors/test_events_executor.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -75,8 +75,6 @@ TEST_F(TestEventsExecutor, run_pub_sub)
!spin_exited &&
(std::chrono::high_resolution_clock::now() - start < 1s))
{
auto time = std::chrono::high_resolution_clock::now() - start;
auto time_msec = std::chrono::duration_cast<std::chrono::milliseconds>(time);
std::this_thread::sleep_for(25ms);
}

Expand Down

0 comments on commit 6a0682f

Please sign in to comment.