k8s-docker-suite-app-murano/tox.ini
Anastasia Kuznetsova a143e7c707 Add k8s app test for per-commit job
Scenario:
            1. Create murano environment
            2. Create session for create environment.
            3. Initialize k8s cluster parameters and add app to env.
            4. Initialize k8s pod parameters and add app to env.
            5. Deploy session.
            7. Check env status and port availability on k8s master node.
            8. Get k8s minions' ips and check that correct initial number
            of them was created and k8s api port is available on them.
            9. Run 'scaleNodesUp' action for k8s minions.
            10. Check that number of minions was increased and
            k8s api port is available on all of them
            11. Run 'scaleNodesDown' action for k8s minions.
            12. Check that number of minions was decreased and
            k8s api port is available on all of them

Change-Id: I63bf61b6f9e5fd45b8e6bde0fab87da5826bedc6
2016-09-19 19:02:41 +03:00

21 lines
435 B
INI

[tox]
minversion = 1.6
skipsdist = True
skip_missing_interpreters = True
[testenv]
setenv = VIRTUAL_ENV={envdir}
LANG=en_US.UTF-8
LANGUAGE=en_US:en
LC_ALL=C
passenv = OS_* MURANO* *ENDPOINT*
deps=
-r{toxinidir}/test-requirements.txt
distribute = false
[testenv:venv]
commands = {posargs:}
[testenv:deploy_scale_k8s]
commands = python -m unittest tests.test_k8s_app.MuranoK8sTest.test_deploy_scale_k8s