From 50a1e50133dd2cb63b0ebe25a586cb8111f83fb4 Mon Sep 17 00:00:00 2001 From: Chris Lalancette Date: Thu, 3 Oct 2024 10:33:15 -0400 Subject: [PATCH] Increase the timeout for the cppcheck on rclcpp_action. (#2640) The default is 300 seconds, but on Windows this is taking between 250 and 300 seconds (I'm seeing it timeout sometimes). Up the timeout to 600 seconds, which should be more than enough. Signed-off-by: Chris Lalancette --- rclcpp_action/CMakeLists.txt | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/rclcpp_action/CMakeLists.txt b/rclcpp_action/CMakeLists.txt index f5537d4f30..0fc1065d55 100644 --- a/rclcpp_action/CMakeLists.txt +++ b/rclcpp_action/CMakeLists.txt @@ -135,3 +135,8 @@ if(BUILD_TESTING) endif() ament_package() + +if(TEST cppcheck) + # must set the property after ament_package() + set_tests_properties(cppcheck PROPERTIES TIMEOUT 600) +endif()