Refactor Karaf builds for tests and tox.ini 99/98199/2
authorguillaume.lambert <guillaume.lambert@orange.com>
Mon, 25 Oct 2021 10:15:02 +0000 (12:15 +0200)
committerGilles Thouenon <gilles.thouenon@orange.com>
Fri, 29 Oct 2021 09:08:21 +0000 (11:08 +0200)
commit22e65ff7abe80bdc92ca20240a642e95265c50b5
tree07dbb9763045524398ea2c6d151ed94262f929ea
parent0c39424593b80b761e072a27af497da5a210b5ba
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