[testenv]
passenv = USE_LIGHTY http_proxy HTTP_PROXY https_proxy HTTPS_PROXY no_proxy NO_PROXY
setenv =
- USE_LIGHTY = False
+ USE_LIGHTY=True
usedevelop = true
basepython = python3
deps =
depends = buildcontroller
whitelist_externals = launch_tests.sh
passenv = LAUNCHER USE_LIGHTY
+setenv =
+ USE_LIGHTY=True
commands =
./launch_tests.sh pce {posargs:}
depends = buildcontroller,sims121,testsPCE
# testsPCE dependency is only here to chain tests in the gate and avoid resources starvation
whitelist_externals = launch_tests.sh
-passenv = LAUNCHER
+passenv = LAUNCHER USE_LIGHTY
setenv =
- USE_LIGHTY=False
+ USE_LIGHTY=True
USE_ODL_ALT_WEBSOCKET_PORT=8186
USE_ODL_ALT_AKKA_PORT=2551
USE_ODL_ALT_AKKA_MGT_PORT=8559
depends = buildcontroller,sims221,tests71
# tests71 dependency is only here to chain tests in the gate and avoid ressources starvation
whitelist_externals = launch_tests.sh
-passenv = LAUNCHER
+passenv = LAUNCHER USE_LIGHTY
setenv =
- USE_LIGHTY=False
+ USE_LIGHTY=True
USE_ODL_ALT_WEBSOCKET_PORT=8187
USE_ODL_ALT_AKKA_PORT=2552
USE_ODL_ALT_AKKA_MGT_PORT=8560
[testenv:tests71]
depends = buildcontroller,sims71
whitelist_externals = launch_tests.sh
-passenv = LAUNCHER
+passenv = LAUNCHER USE_LIGHTY
setenv =
- USE_LIGHTY=False
+ USE_LIGHTY=True
USE_ODL_ALT_WEBSOCKET_PORT=8188
USE_ODL_ALT_AKKA_PORT=2553
USE_ODL_ALT_AKKA_MGT_PORT=8561
depends = buildcontroller
whitelist_externals = sh
sudo
+passenv = LAUNCHER USE_LIGHTY
commands =
#sudo docker pull atriki/gnpyrest:v1.2
sudo docker run -d -p 8008:5000 --name gnpy_tpce_rest1 atriki/gnpyrest:v1.2
- nosetests --with-xunit transportpce_tests/with_docker/test_gnpy.py
+ ./launch_tests.sh with_docker gnpy
sudo docker container rm -f gnpy_tpce_rest1
[testenv:nbinotifications]
depends = buildcontroller,sims221
whitelist_externals = sh
sudo
+passenv = LAUNCHER USE_LIGHTY
commands =
sudo docker-compose -f ./nbinotifications/docker-compose.yml up -d
- nosetests --with-xunit transportpce_tests/with_docker/test_nbinotifications.py
+ ./launch_tests.sh with_docker nbinotifications
sudo docker-compose -f ./nbinotifications/docker-compose.yml down --rmi all
[testenv:docs]