Skip to content

Commit 75d217e

Browse files
committed
fix: use host networking for interop tests in CI
Docker's default bridge network causes Zenoh service/topic discovery to fail due to localhost communication limitations. Using host networking resolves this issue and allows proper communication between ROS2 and ros-z components. Tests pass successfully on bare metal and with Docker host networking.
1 parent 542cc58 commit 75d217e

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

.github/workflows/test.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ jobs:
1212
runs-on: ubuntu-latest
1313
container:
1414
image: rostooling/setup-ros-docker:ubuntu-noble-ros-jazzy-ros-base-latest
15+
options: --network=host
1516
steps:
1617
- name: Install Node.js
1718
run: apt-get update && apt-get install -y nodejs

0 commit comments

Comments
 (0)