2014-08-25 10:37:27 +12:00
|
|
|
======================
|
|
|
|
Heat integration tests
|
|
|
|
======================
|
|
|
|
|
2017-12-16 01:43:31 +08:00
|
|
|
These tests can be run against any heat-enabled OpenStack cloud, however
|
|
|
|
defaults match running against a recent DevStack.
|
2014-08-25 10:37:27 +12:00
|
|
|
|
2017-12-16 01:43:31 +08:00
|
|
|
To run the tests against DevStack, do the following::
|
2017-08-07 18:38:12 +08:00
|
|
|
|
2016-08-13 09:52:41 +12:00
|
|
|
export DEST=/opt/stack
|
2014-08-25 10:37:27 +12:00
|
|
|
|
2017-12-16 01:43:31 +08:00
|
|
|
# create test resources and write config
|
2016-08-13 09:52:41 +12:00
|
|
|
$DEST/heat/heat_integrationtests/prepare_test_env.sh
|
|
|
|
$DEST/heat/heat_integrationtests/prepare_test_network.sh
|
|
|
|
|
2017-12-16 01:43:31 +08:00
|
|
|
# run the heat integration tests
|
|
|
|
cd $DEST/heat
|
2018-02-05 16:02:10 +05:30
|
|
|
stestr --test-path=heat_integrationtests run
|
2014-08-25 10:37:27 +12:00
|
|
|
|
2017-12-16 01:43:31 +08:00
|
|
|
If the Heat Tempest Plugin is also installed, the tests from that will be run
|
|
|
|
as well.
|
2017-08-07 18:38:12 +08:00
|
|
|
|
2017-12-16 01:43:31 +08:00
|
|
|
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``
|