heat/heat_integrationtests
Steve Baker 30bc841b09 Add volume backup/restore integration test
Adds a more comprehensive test for the cinder volume resources:
- Creates a stack with a volume, and writes data to it
- Deletes the stack with the volume deletion policy set to
  "snapshot" (which really means backup) the volume
- Create a new stack with a volume created from the backup
- Prove the data written in the first stack is still present
Note this test also aims to provide coverage of volume attachment
resources, e.g so we would catch any bugs like bug #1311533 in
future.

Authored-By: Steve Hardy <shardy@redhat.com> based on tempest change
I04ae0cf942d12c4504b2df504a8c940575b90b69

Change-Id: I04ae0cf942d12c4504b2df504a8c940575b90b69
Related-Bug: #1311533
2014-10-08 12:45:34 +13:00
..
common Configure flavor and image from env 2014-10-08 10:16:30 +13:00
scenario Add volume backup/restore integration test 2014-10-08 12:45:34 +13:00
__init__.py Support classes for heat integration tests 2014-09-24 09:02:20 +12:00
.gitignore Support classes for heat integration tests 2014-09-24 09:02:20 +12:00
generate_sample.sh Support classes for heat integration tests 2014-09-24 09:02:20 +12:00
heat_integrationtests.conf.sample Support classes for heat integration tests 2014-09-24 09:02:20 +12:00
post_test_hook.sh Configure flavor and image from env 2014-10-08 10:16:30 +13:00
pre_test_hook.sh Support classes for heat integration tests 2014-09-24 09:02:20 +12:00
README.rst Support classes for heat integration tests 2014-09-24 09:02:20 +12:00

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:

# source devstack credentials source /opt/stack/devstack/accrc/demo/demo # run the heat integration tests with those credentials cd /opt/stack/heat tox -eintegration

If custom configuration is required, copy the following file:

heat_integrationtests/heat_integrationtests.conf.sample

to:

heat_integrationtests/heat_integrationtests.conf

and make any required configuration changes before running:

tox -eintegration