mirror of
https://opendev.org/openstack/heat.git
synced 2026-01-16 23:00:55 +00:00
We cannot run this test in the gate because the volume backup feature is enabled. However, with a change to the Heat tempest plugin to allow this feature to be automatically skipped based on the tempest config, we no longer need this test to be explicitly included in the skip list. Change-Id: Iaefa5c272c4322498330307ea9bd6843d276ef1b Depends-On: https://review.openstack.org/632989 |
||
|---|---|---|
| .. | ||
| common | ||
| functional | ||
| locale | ||
| __init__.py | ||
| cleanup_test_env.sh | ||
| config-generator.conf | ||
| 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 against any heat-enabled OpenStack cloud, however
defaults match running against a recent DevStack.
To run the tests against DevStack, do the following::
export DEST=/opt/stack
# create test resources and write config
$DEST/heat/heat_integrationtests/prepare_test_env.sh
$DEST/heat/heat_integrationtests/prepare_test_network.sh
# run the heat integration tests
cd $DEST/heat
stestr --test-path=heat_integrationtests run
If the Heat Tempest Plugin is also installed, the tests from that will be run
as well.
If custom configuration is required, add it in the file
``heat_integrationtests/heat_integrationtests.conf``. A sample configuration is
available in ``heat_integrationtests/heat_integrationtests.conf.sample``