heat/heat_integrationtests
ricolin 33972cce57 Check task_state of instance before volume actions
Check task_state before verify resize or before detachment.

We need to make sure the task_state moved out from resize_finish before
we trigger some action like attach/detach volume.

So when we update flvor and volume at the samethime, the resize action
will not affect volume attachment/detachment.

Depends-On: https://review.opendev.org/#/c/700512/

Change-Id: I64033d5a0a8fea5c4fd93b1deb111d3d8fba0cf7
Story: #2007042
Task: #37854
Task: #37855
Task: #37869
(cherry picked from commit 40ca7e9e63)
2020-04-26 07:33:11 +00:00
..
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 Update Fedora image ref for test jobs 2020-02-24 16:00:48 +00:00
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 Update Fedora image ref for test jobs 2020-02-24 16:00:48 +00:00
prepare_test_env.sh Update Fedora image ref for test jobs 2020-02-24 16:00:48 +00:00
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