New integration tests - base functional

Features:
* create node group templates
* create cluster templates
* create clusters
* check cluster status
* default templates for hdp and vanilla plugins

Command for run tests:
$ tox -e scenario <path_to_yaml>

partially implements bp: scenario-integration-tests

Change-Id: Ief6aafff713520c972846aa45f0aaefd34ea1bd7
This commit is contained in:
Sergey Reshetnyak 2015-01-14 14:39:51 +03:00 committed by Vitaly Gridnev
parent d3c77a917a
commit f618895d1c
2 changed files with 5 additions and 0 deletions

View File

@ -4,6 +4,7 @@
hacking>=0.10.0,<0.11
Mako>=0.4.0
MySQL-python
bashate>=0.2 # Apache-2.0
coverage>=3.6

View File

@ -21,6 +21,10 @@ setenv =
DISCOVER_DIRECTORY=sahara/tests/integration
commands = bash tools/pretty_tox.sh '{posargs}'
[testenv:scenario]
setenv = VIRTUALENV={envdir}
commands = python {toxinidir}/sahara/tests/scenario/runner.py "{posargs}"
[testenv:cover]
commands = python setup.py testr --coverage --testr-args='{posargs}'