Skip to content

Commit 50a1e50

Browse files
authored
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 <[email protected]>
1 parent 1a0092a commit 50a1e50

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

rclcpp_action/CMakeLists.txt

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -135,3 +135,8 @@ if(BUILD_TESTING)
135135
endif()
136136

137137
ament_package()
138+
139+
if(TEST cppcheck)
140+
# must set the property after ament_package()
141+
set_tests_properties(cppcheck PROPERTIES TIMEOUT 600)
142+
endif()

0 commit comments

Comments
 (0)