heat/heat_integrationtests
Rabi Mishra cb2ff87cd7 Use Fedora 31 for tests
Aso configures swap as before

https://review.opendev.org/750941 changed the default
swap to 1024MB for jobs and this seems to resulting in
high failure rate of the functional and grenade jobs.

Let's configure it back to what used to before i.e 8192MB.

Change-Id: Ia45e957bb24f5596a5ef16271f71ba8b77df9e42
(cherry picked from commit f18a676792
and cherry picked from commit f419923a0d)
2020-10-13 12:15:55 +05:30
..
common Use keystone session with heatclient in integration tests 2019-03-15 09:13:17 +00:00
functional Check task_state of instance before volume actions 2020-04-26 07:33:11 +00:00
locale Imported Translations from Zanata 2018-03-12 06:43:23 +00:00
README.rst Fix README.rst for in-tree functional tests 2018-02-05 16:34:50 +05:30
__init__.py Allow run tests for both tempest plugin and regression tests 2018-01-19 13:26:25 -05:00
cleanup_test_env.sh Use Fedora 31 for tests 2020-10-13 12:15:55 +05:30
config-generator.conf Allow run tests for both tempest plugin and regression tests 2018-01-19 13:26:25 -05:00
post_test_hook.sh Bump minimal_image_ref 2018-12-19 15:39:36 +05:30
pre_test_hook.sh Use Fedora 31 for tests 2020-10-13 12:15:55 +05:30
prepare_test_env.sh Use Fedora 31 for tests 2020-10-13 12:15:55 +05:30
prepare_test_network.sh Fix Tempest installtion on system wide for stable branch 2020-04-15 13:42:41 +05:30

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