Skip to content
Draft
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -28,14 +28,15 @@ if(BUILD_TESTING)
set(ament_cmake_cpplint_FOUND TRUE)
set(ament_cmake_flake8_FOUND TRUE)
ament_lint_auto_find_test_dependencies()
set(NETWORK_BRIDGE_LAUNCH_TEST_TIMEOUT 30 CACHE STRING "Timeout in seconds for launch tests")

add_launch_test(
test/test_udp.py
TIMEOUT 2 # Sets a timeout for the test in seconds
TIMEOUT ${NETWORK_BRIDGE_LAUNCH_TEST_TIMEOUT}
)
add_launch_test(
test/test_tcp.py
TIMEOUT 2 # Sets a timeout for the test in seconds
TIMEOUT ${NETWORK_BRIDGE_LAUNCH_TEST_TIMEOUT}
)
endif()

Expand Down