c4e8897fda
There are some test cases that still use the test.HeatIntegrationTest base class instead of the functional_base.FunctionalTestsBase base class. The effect is that these tests will not check whether they are skipped (e.g. by setting the heat_plugin/skip_functional_tests oslo.config attr) and in some cases end up being executed and reporting false errors. Change-Id: I074901f4d0c0c84fa09554e09095402fb9cf0b8e Closes-Bug: #1699124 |
||
---|---|---|
.. | ||
api | ||
common | ||
functional | ||
locale/ja/LC_MESSAGES | ||
scenario | ||
__init__.py | ||
.gitignore | ||
cleanup_test_env.sh | ||
install-requirements | ||
plugin.py | ||
post_test_hook.sh | ||
pre_test_hook.sh | ||
prepare_test_env.sh | ||
prepare_test_network.sh | ||
README.rst |
Heat integration tests
These tests can be run as a tempest plugin against any heat-enabled OpenStack cloud, however defaults match running against a recent DevStack.
To run the tests against DevStack, do the following:
# Define DEST
export DEST=/opt/stack
# create test resources and write tempest config
$DEST/heat/heat_integrationtests/prepare_test_env.sh $DEST/heat/heat_integrationtests/prepare_test_network.sh
# run tempest selecting only these tests
cd $DEST/tempest tempest run --regex heat_integrationtests
If custom configuration is required, edit the [heat_plugin] section of
$DEST/tempest/etc/tempest.conf