Skip to content

Commit fa5c35e

Browse files
committed
Adds deps to score_itf - for integration testing
1 parent 3c3983e commit fa5c35e

3 files changed

Lines changed: 12 additions & 1 deletion

File tree

‎MODULE.bazel‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -120,3 +120,5 @@ git_override(
120120
commit = "3c65b223e9f516f95935bb4cd2e83d6088ca016f",
121121
remote = "https://github.com/eclipse-score/baselibs.git",
122122
)
123+
124+
bazel_dep(name = "score_itf", version = "0.1.0")

‎tests/integration/README.md‎

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,15 @@ Integration tests for the `score_logging` component that verify DLT (Diagnostic
1919

2020
Complete the QNX 8.0 QEMU environment setup as described in the [QNX QEMU documentation](score_reference_integration/qnx_qemu/README.md).
2121

22+
### Network Bridge Setup (virbr0)
23+
24+
The integration tests use QEMU with bridge networking, which requires the `virbr0` virtual bridge interface. Instructions: reference_integration/qnx_qemu/README.md#Configure QEMU networking
25+
26+
This creates:
27+
- Bridge interface `virbr0` with IP `192.168.122.1/24` on the host. Reference: /usr/share/libvirt/networks/default.xml
28+
- DHCP server assigning IPs `192.168.122.2-254` to VMs
29+
- NAT rules for outbound internet access
30+
2231
## Usage
2332

2433
### 1. Start the QNX QEMU Target

‎tests/integration/conftest.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ def pytest_sessionstart(session):
5151
# pathspace ability provides the datarouter access to the `procnto` pathname prefix space
5252
# required for mw/com message passing with mw::log frontend
5353
_DATAROUTER_START_CMD = (
54-
"cd /usr/bin && on -A nonroot,allow,pathspace -u 1038:1054 "
54+
"cd /usr/bin && on -A nonroot,allow,pathspace -u 1051:1091 "
5555
"./datarouter --no_adaptive_runtime &"
5656
)
5757
_DATAROUTER_STARTUP_TIMEOUT_SEC = 2

0 commit comments

Comments
 (0)