heat/heat_integrationtests
Sirushti Murugesan 8f31346c1c Wait for the stack lock to be released
Sometimes, when trying to update a stack in a *_COMPLETE/FAILED status,
it can fail since the stack lock is not released yet. As a short-term
workaround, I've put in place an ugly hack that will simply retry the
update if the operation failed because of the stack lock. The downside of
this is that we can't now add functional tests which will test updates on
Stack Lock itself since we now simply just ignore the HTTPConflict Exception
on updates.

I couldn't think of another solution that doesn't include a giant refactoring
that will solve this problem.

PS: Convergence doesn't have the notion of a Stack-Lock, so that should
take care of this by default.

Partially-Closes Bug: #1450314

Change-Id: Ib1a9d5c425285ebcffcb9ff8a362a56fd8f3574a
2015-05-04 14:58:18 +05:30
..
common Wait for the stack lock to be released 2015-05-04 14:58:18 +05:30
functional Update urllib/httplib/cStringIO to use six.moves 2015-04-23 19:45:36 +05:30
scenario Use ipv4 address for connectivity in lb integration test 2015-04-30 16:42:15 +05:30
.gitignore Support classes for heat integration tests 2014-09-24 09:02:20 +12:00
README.rst Fix formatting in integration tests README 2014-12-08 11:47:18 +02:00
__init__.py 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 Use $DEST consistently in the post_test_hook.sh 2015-04-30 11:56:52 +10: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
requirements.txt Add separate requirements.txt to integration tests 2015-04-01 09:02:13 +00:00

README.rst

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