Refactor Karaf builds for tests and tox.ini 19/98119/7
authorguillaume.lambert <guillaume.lambert@orange.com>
Mon, 25 Oct 2021 10:15:02 +0000 (12:15 +0200)
committerguillaume.lambert <guillaume.lambert@orange.com>
Tue, 26 Oct 2021 19:56:11 +0000 (21:56 +0200)
commitfe521e625d056c03d8e56ae14f45792c10c303b1
tree188b05e30cea3113c113cbe595070cced7c13170
parent23e184818681ff152351b97b9e3e066dbf3d94e1
Refactor Karaf builds for tests and tox.ini

- use dedicated env files for Karaf listening ports settings
- create tox profiles to (re)build Karaf folders dedicated to tests
- adapt tests launcher and build scripts accordingly

This should avoid weird race conditions that can happen when performing
several tests locally.

JIRA: TRNSPRTPCE-482
Signed-off-by: guillaume.lambert <guillaume.lambert@orange.com>
Change-Id: Icfa0e09e65ed054155002b9e4b07370ca1ad0aaf
docs/tox-guide.rst
tests/build_karaf_for_tests.sh
tests/karaf121.env [new file with mode: 0644]
tests/karaf221.env [new file with mode: 0644]
tests/karaf71.env [new file with mode: 0644]
tests/launch_tests.sh
tox.ini