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/2-nodes.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/2-nodes.yml')
-rw-r--r-- | tests/2-nodes.yml | 22 |
1 files changed, 13 insertions, 9 deletions
diff --git a/tests/2-nodes.yml b/tests/2-nodes.yml index 05a69359e..e1fbcfe3b 100644 --- a/tests/2-nodes.yml +++ b/tests/2-nodes.yml @@ -6,13 +6,12 @@ services: dockerfile: ${DOCKERFILE} args: - BASE_IMAGE - privileged: true - stdin_open: true hostname: client - tty: true + privileged: ${PRIVILEGED} working_dir: /workspace networks: - - kernel + p2p-link: + ipv4_address: ${TOPOLOGY_2_NODES_IP_ADDRESS_CLIENT} volumes: - ..:/workspace:z entrypoint: [/bin/bash, -x, -c] @@ -23,13 +22,14 @@ services: build: context: .. dockerfile: ${DOCKERFILE} - privileged: true - stdin_open: true + args: + - BASE_IMAGE hostname: server - tty: true + privileged: ${PRIVILEGED} working_dir: /workspace networks: - - kernel + p2p-link: + ipv4_address: ${TOPOLOGY_2_NODES_IP_ADDRESS_SERVER} volumes: - ..:/workspace:z entrypoint: [/bin/bash, -x, -c] @@ -37,5 +37,9 @@ services: - tail -f /dev/null networks: - kernel: + p2p-link: driver: bridge + ipam: + config: + - subnet: ${TOPOLOGY_2_NODES_IP_NETWORK} + gateway: ${TOPOLOGY_2_NODES_IP_GATEWAY} |