Increase timeouts for connext for long tests (#1253)
* Increase timeouts for connext for long tests Signed-off-by: Stephen Brawner <brawner@gmail.com> * Fix cmakelists Signed-off-by: Stephen Brawner <brawner@gmail.com>
This commit is contained in:
parent
41d5f24425
commit
61357c49f7
1 changed files with 14 additions and 3 deletions
|
@ -17,7 +17,13 @@ rosidl_generate_interfaces(${PROJECT_NAME}_test_msgs
|
||||||
SKIP_INSTALL
|
SKIP_INSTALL
|
||||||
)
|
)
|
||||||
|
|
||||||
ament_add_gtest(test_allocator_memory_strategy rclcpp/strategies/test_allocator_memory_strategy.cpp)
|
# Increasing timeout because connext can take a long time to destroy nodes
|
||||||
|
# TODO(brawner) remove when destroying Node for Connext is resolved. See:
|
||||||
|
# https://github.com/ros2/rclcpp/issues/1250
|
||||||
|
ament_add_gtest(
|
||||||
|
test_allocator_memory_strategy
|
||||||
|
rclcpp/strategies/test_allocator_memory_strategy.cpp
|
||||||
|
TIMEOUT 360)
|
||||||
if(TARGET test_allocator_memory_strategy)
|
if(TARGET test_allocator_memory_strategy)
|
||||||
ament_target_dependencies(test_allocator_memory_strategy
|
ament_target_dependencies(test_allocator_memory_strategy
|
||||||
"rcl"
|
"rcl"
|
||||||
|
@ -470,8 +476,13 @@ if(TARGET test_interface_traits)
|
||||||
target_link_libraries(test_interface_traits ${PROJECT_NAME})
|
target_link_libraries(test_interface_traits ${PROJECT_NAME})
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
ament_add_gtest(test_executors rclcpp/executors/test_executors.cpp
|
# TODO(brawner) remove when destroying Node for Connext is resolved. See:
|
||||||
APPEND_LIBRARY_DIRS "${append_library_dirs}")
|
# https://github.com/ros2/rclcpp/issues/1250
|
||||||
|
ament_add_gtest(
|
||||||
|
test_executors
|
||||||
|
rclcpp/executors/test_executors.cpp
|
||||||
|
APPEND_LIBRARY_DIRS "${append_library_dirs}"
|
||||||
|
TIMEOUT 180)
|
||||||
if(TARGET test_executors)
|
if(TARGET test_executors)
|
||||||
ament_target_dependencies(test_executors
|
ament_target_dependencies(test_executors
|
||||||
"rcl")
|
"rcl")
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue