Skip to content

test_rmw_implementation: add test isolation#275

Merged
fujitatomoya merged 3 commits intoros2:rollingfrom
JEnoch:isolate_rmw_zenoh_tests
Feb 24, 2026
Merged

test_rmw_implementation: add test isolation#275
fujitatomoya merged 3 commits intoros2:rollingfrom
JEnoch:isolate_rmw_zenoh_tests

Conversation

@JEnoch
Copy link
Copy Markdown
Contributor

@JEnoch JEnoch commented Feb 24, 2026

Description

As discussed in ros2/rmw_zenoh#881 (comment), this PR adds tests isolation to all tests initializing a Context or a Node, in order to start a Zenoh router in case of rmw_zenoh_cpp.

On my host before this fix:

  • 128 warning logs "zenoh::net::runtime::orchestrator: Scouting delay elapsed before start conditions are met."
  • Total Test time (real) = 131.20 sec

After this fix:

  • 0 warning logs
  • Total Test time (real) = 78.16 sec

Is this user-facing behavior change?

No

Did you use Generative AI?

No

Signed-off-by: Julien Enoch <julien.e@zettascale.tech>
Signed-off-by: Julien Enoch <julien.e@zettascale.tech>
Signed-off-by: Julien Enoch <julien.e@zettascale.tech>
@JEnoch
Copy link
Copy Markdown
Contributor Author

JEnoch commented Feb 24, 2026

Pulls: #275
Gist: https://gist.githubusercontent.com/JEnoch/88509339f601506db0d977f0555f00bd/raw/d4264d51e9999d3fc68940737856e52f1d36bbac/ros2.repos
BUILD args: --continue-on-error --packages-above-and-dependencies test_rmw_implementation
TEST args: --packages-above test_rmw_implementation
ROS Distro: rolling
Job: ci_launcher
ci_launcher ran: https://ci.ros2.org/job/ci_launcher/18307

  • Linux Build Status
  • Linux-aarch64 Build Status
  • Linux-rhel Build Status
  • Windows Build Status

@fujitatomoya fujitatomoya merged commit 68c340d into ros2:rolling Feb 24, 2026
3 checks passed
@JEnoch JEnoch deleted the isolate_rmw_zenoh_tests branch February 25, 2026 10:51
@cottsay
Copy link
Copy Markdown
Member

cottsay commented Apr 13, 2026

@Mergifyio backport kilted

@mergify
Copy link
Copy Markdown

mergify bot commented Apr 13, 2026

backport kilted

✅ Backports have been created

Details

mergify bot pushed a commit that referenced this pull request Apr 13, 2026
* test_rmw_implementation: add test isolation

Signed-off-by: Julien Enoch <julien.e@zettascale.tech>

* add missing test_depend on ament_cmake_ros

Signed-off-by: Julien Enoch <julien.e@zettascale.tech>

* Fix find_package(ament_cmake_ros) place

Signed-off-by: Julien Enoch <julien.e@zettascale.tech>

---------

Signed-off-by: Julien Enoch <julien.e@zettascale.tech>
(cherry picked from commit 68c340d)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants