Mirantis/murano-tests

Name: murano-tests

Owner: Mirantis Inc.

Description: null

Created: 2013-04-09 08:23:57.0

Updated: 2015-11-20 10:02:06.0

Pushed: 2015-11-24 13:27:39.0

Homepage: null

Size: 4982

Language: Python

GitHub Committers

UserMost Recent Commit# Commits

Other Committers

UserEmailMost Recent Commit# Commits

README

docker-murano-tests

This test-suite created for testing Docker Applications in Murano on MOX. In future it will be used by Murano Team for testing Docker Applications in murano kilo-release.

How to run

You need to install requirements.txt and configure config.conf. Please remember, murano_url should ends by port, not by a version.

You can use nosetests to run tests directly.

pip install nose

For high priority sanity test cases you need to run test_deploy_docker.py

nosetests -sv test_deploy_docker.py

Running single test from test-suite

nosetests -sv test_deploy_docker.py:MuranoDockerTest.test_deploy_docker_redis

For advanced test cases you need to use test_deploy_docker_advanced.py

nosetests -sv test_deploy_docker_advanced.py

If you want to run single test from advanced cases, you need to do the same as in sanity.

nosetests -sv test_deploy_docker_advanced.py:MuranoDockerTestAdvanced.test_deploy_docker_mongodb_wait_deploy_nginx

For old-school applications testing run:

nosetests -sv test_deploy_old_school.py

Recommendations

Strongly recommended not to run this tests versus poor environments. Multiple starts at same time can cause your Heat component to malfunction. If you have one controller, you need to be sure, that your Heat component works correctly and as fast as possible.

Remember, slow speed of internet connection at your environment can dramatically increase time for creating/updating Heat stack. In this case tests usually fails by timeout.


This work is supported by the National Institutes of Health's National Center for Advancing Translational Sciences, Grant Number U24TR002306. This work is solely the responsibility of the creators and does not necessarily represent the official views of the National Institutes of Health.