Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

zenoh: Increased timeout for test_rcl_lifecycle #1185

Open
wants to merge 1 commit into
base: rolling
Choose a base branch
from
Open
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
1 change: 1 addition & 0 deletions rcl_lifecycle/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -104,6 +104,7 @@ if(BUILD_TESTING)
endif()
ament_add_gtest(test_rcl_lifecycle
test/test_rcl_lifecycle.cpp
TIMEOUT 400
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

400 secs is the longest timeout for the test in rcl...

with my local environment with rmw_fastrtps_cpp, it can complete the test in 3 seconds.

root@tomoyafujita:~/ros2_ws/colcon_ws# colcon test --event-handlers console_direct+ --packages-select rcl_lifecycle --ctest-args -R test_rcl_lifecycle
...
The following tests passed:
        test_rcl_lifecycle

100% tests passed, 0 tests failed out of 1

Label Time Summary:
gtest    =   1.81 sec*proc (1 test)

Total Test time (real) =   1.81 sec
Finished <<< rcl_lifecycle [2.48s]

Summary: 1 package finished [3.67s]

I am not sure if this is the correct thing to do... maybe something wrong with rmw_zenoh instead?

)
if(TARGET test_rcl_lifecycle)
target_link_libraries(test_rcl_lifecycle
Expand Down