deb-heat/heat_integrationtests
Angus Salkeld bbb18e76f3 Use helper functions stack_suspend and stack_resume
These wait for the stack state to get to complete,
this wasn't done consistently. In test_autoscaling we were
only waiting for the resource state to get to SUSPEND_COMPLETE
and this lead to a time sensitive bug.

Change-Id: Id985d833dc0b4cab1e3cb9d8f67d5d8cc94b5863
Closes-bug: #1438717
2015-04-10 15:44:07 +10:00
..
common Use helper functions stack_suspend and stack_resume 2015-04-10 15:44:07 +10:00
functional Use helper functions stack_suspend and stack_resume 2015-04-10 15:44:07 +10:00
scenario Fix NeutronLoadBalancerTest.test_neutron_loadbalancer timeout 2015-04-08 19:04:34 +05:30
__init__.py Support classes for heat integration tests 2014-09-24 09:02:20 +12:00
.gitignore Support classes for heat integration tests 2014-09-24 09:02:20 +12:00
config-generator.conf Get tox to generate config for heat_integrationtests 2015-02-04 00:01:26 +05:30
heat_integrationtests.conf.sample Add minimal_instance_type config option 2015-03-23 14:02:46 +00:00
post_test_hook.sh iniset heat_integrationtests.conf 2015-03-23 09:22:33 +13:00
pre_test_hook.sh test_resource for functional tests 2015-04-08 11:09:46 +05:30
prepare_test_env.sh Add minimal_instance_type config option 2015-03-23 14:02:46 +00:00
README.rst Fix formatting in integration tests README 2014-12-08 11:47:18 +02:00
requirements.txt Add separate requirements.txt to integration tests 2015-04-01 09:02:13 +00:00

Heat integration tests

These tests can be run against any heat-enabled OpenStack cloud, however defaults match running against a recent DevStack.

To run the tests against DevStack, do the following:

# source DevStack credentials

source /opt/stack/devstack/accrc/demo/demo

# run the heat integration tests with those credentials

cd /opt/stack/heat

tox -eintegration

If custom configuration is required, copy the following file:

heat_integrationtests/heat_integrationtests.conf.sample

to:

heat_integrationtests/heat_integrationtests.conf

and make any required configuration changes before running:

tox -eintegration