OpenStack Orchestration (Heat) Tempest Plugin
c4b871a79e
Currently the [service_available] heat parameter is not actually used and the plugin tests are always executed regardless of availability of Heat service. This change ensures that the parameter is honored so that users can disable plugin tests even if the plugin package is enabled. Change-Id: I148d7a9c92f210d4584798131a1b23f648f6e5e3 |
||
---|---|---|
doc/source/contributor | ||
heat_tempest_plugin | ||
releasenotes/notes | ||
.gitignore | ||
.gitreview | ||
.stestr.conf | ||
.zuul.yaml | ||
CONTRIBUTING.rst | ||
LICENSE | ||
README.rst | ||
requirements.txt | ||
setup.cfg | ||
setup.py | ||
test-requirements.txt | ||
tox.ini |
Heat Tempest Plugin
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_tempest_plugin.tests
If custom configuration is required, edit the [heat_plugin] section of
$DEST/tempest/etc/tempest.conf