Skip to content

Add tests isolation in rclcpp/test#3081

Merged
fujitatomoya merged 1 commit intoros2:rollingfrom
JEnoch:isolate_rmw_zenoh_tests
Feb 21, 2026
Merged

Add tests isolation in rclcpp/test#3081
fujitatomoya merged 1 commit intoros2:rollingfrom
JEnoch:isolate_rmw_zenoh_tests

Conversation

@JEnoch
Copy link
Copy Markdown
Contributor

@JEnoch JEnoch commented Feb 20, 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:

  • 900 warning logs "Unable to connect to a Zenoh router"
  • Total Test time (real) = 770.40 sec

After this fix:

  • 0 warning logs "Unable to connect to a Zenoh router"
  • Total Test time (real) = 480.62 sec

Is this user-facing behavior change?

No

Did you use Generative AI?

No

Signed-off-by: Julien Enoch <julien.e@zettascale.tech>
@jmachowinski
Copy link
Copy Markdown
Collaborator

Pulls: #3081
Gist: https://gist.githubusercontent.com/jmachowinski/fa1812f776c35c714a3518aaccf3898f/raw/209e1340f8bbe105ed534f8cdcdd033c9447c17e/ros2.repos
BUILD args:
TEST args:
ROS Distro: rolling
Job: ci_launcher
ci_launcher ran: https://ci.ros2.org/job/ci_launcher/18280

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

@fujitatomoya
Copy link
Copy Markdown
Collaborator

windows failures are not related to this PR, https://ci.ros2.org/job/ci_windows/26763/#showFailuresLink

@fujitatomoya fujitatomoya merged commit 87be5fb into ros2:rolling Feb 21, 2026
3 checks passed
@JEnoch JEnoch deleted the isolate_rmw_zenoh_tests branch February 25, 2026 10:52
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