30b1fd6903
Prior to their removal from the tempest repository, the heat tests supported an endpoint_type option[1] to configure which endpoint interface to use in its requests to the Orchestration service and other OpenStack services. This patch adds back this support so that users can configure the heat tests to run against non-public interfaces. [1] http://git.openstack.org/cgit/openstack/tempest/tree/tempest/config.py?h=17.2.0#n943 Change-Id: Id86f90e428136198b4244f12da5eb53f673fd788 |
||
---|---|---|
heat_tempest_plugin | ||
.gitignore | ||
.gitreview | ||
.testr.conf | ||
.zuul.yaml | ||
LICENSE | ||
README.rst | ||
requirements.txt | ||
setup.cfg | ||
setup.py | ||
test-requirements.txt | ||
tox.ini |
README.rst
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