heat/heat_integrationtests
Oleksii Chuprykov 9ece778613 Fix cancel update for nova server with defined port
This particular patch fixes a behaviour of cancel update for
nova server with defined port, so there are no ports manageable
by nova. We have these issues while restoring ports after rollback:
1) We doesn't detach any ports from current server, because we
doesn't save them to resoruce data. (we store this data after
succesfull create of the server)
2) Detaching an interface from current server will fail, if the server
will be in building state, so we need to wait until server will be
in active or in error state.
Refresh ports list to solve problem (1).
Wait until nova moves to active/error state to solve (2).
A functional test to prove the fix was added. Note, that this test is
skipped for convergence engine tests until cancel update will work
properly in convergence mode (see bug 1533176).

Partial-Bug: #1570908
Change-Id: If6fd916068a425eea6dc795192f286cb5ffcb794
(cherry picked from commit 584efe3329)
2016-09-21 08:50:56 +05:30
..
common Fix cancel update for nova server with defined port 2016-09-21 08:50:56 +05:30
functional Fix cancel update for nova server with defined port 2016-09-21 08:50:56 +05:30
scenario Add scenario test_server_signal 2016-08-04 02:04:50 +00:00
.gitignore Support classes for heat integration tests 2014-09-24 09:02:20 +12:00
README.rst Run heat_integrationtests as a tempest plugin 2016-08-13 09:53:07 +12:00
__init__.py Support classes for heat integration tests 2014-09-24 09:02:20 +12:00
install-requirements Create integration tests requirements on the fly 2016-03-25 13:40:50 +00:00
plugin.py Run heat_integrationtests as a tempest plugin 2016-08-13 09:53:07 +12:00
post_test_hook.sh Run heat_integrationtests as a tempest plugin 2016-08-13 09:53:07 +12:00
pre_test_hook.sh Fix path_in_stack for scheduler hints 2016-08-05 10:21:10 +00:00
prepare_test_env.sh Run heat_integrationtests as a tempest plugin 2016-08-13 09:53:07 +12:00
prepare_test_network.sh Use openstack commands for prepare_test_network.sh 2016-06-29 20:57:22 +00:00

README.rst

Heat integration tests

These 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_integrationtests

If custom configuration is required, edit the [heat_plugin] section of

$DEST/tempest/etc/tempest.conf