diff options
author | Mauro Sardara <msardara@cisco.com> | 2022-10-11 20:01:32 +0200 |
---|---|---|
committer | Mauro Sardara <msardara@cisco.com> | 2022-10-12 21:49:35 +0200 |
commit | 12d21f032e9a67b327101c42481a546a48a6ac21 (patch) | |
tree | 641fce3d9f85c0d1f9da2ba8ebda2d17b0fa2eb3 /tests/1-node.yml | |
parent | 5ee46ef7ce250a52d85eeafc0dd27de0cd5d6f67 (diff) |
test: instrument functional tests with more logs
Also:
- Do not tun tests with privileged containers HICN-806
- Refactor robot test files and config.sh
Currently some logs are missing from the robot output of the functional tests.
This patch adds them.
Ticket: HICN-805
Signed-off-by: Mauro Sardara <msardara@cisco.com>
Change-Id: I9893eb356a4dd12f4bc6347b8fe02e358c9bf737
Diffstat (limited to 'tests/1-node.yml')
-rw-r--r-- | tests/1-node.yml | 16 |
1 files changed, 11 insertions, 5 deletions
diff --git a/tests/1-node.yml b/tests/1-node.yml index 859d1b838..9e496d7b8 100644 --- a/tests/1-node.yml +++ b/tests/1-node.yml @@ -7,11 +7,13 @@ services: args: - BASE_IMAGE image: hicn-base - privileged: true container_name: forwarder working_dir: /workspace volumes: - ..:/workspace:z + networks: + the-network: + ipv4_address: ${TOPOLOGY_1_NODE_IP_ADDRESS} entrypoint: [/bin/bash, -ex, -c] command: - | @@ -19,8 +21,12 @@ services: sudo ninja -C /workspace/build-dev install fi - sudo ip addr add 192.168.1.1/24 dev eth0 - sudo hicn-light-daemon \ - --daemon --log-file /tmp/lite_client.log + sudo hicn-light-daemon --log-file /tmp/lite_client.log - tail -f /dev/null +networks: + the-network: + driver: bridge + ipam: + config: + - subnet: ${TOPOLOGY_1_NODE_IP_NETWORK} + gateway: ${TOPOLOGY_1_NODE_IP_GATEWAY} |