5fa6559b0b
This sends a manual ceilometer sample to trigger the alarm, then confirms that the autoscale policy/group reacts correctly. Note: this doesn't used ScenarioBaseTest as it skips the test unnecessarily on unused images and networks. Change-Id: I5c842779d90497ba88df66bbfd8f447679645192 Depends-On: Ib3795bcca9d5ec3d68c6443a9854dbc56118ca40 |
||
---|---|---|
.. | ||
common | ||
functional | ||
scenario | ||
__init__.py | ||
.gitignore | ||
config-generator.conf | ||
heat_integrationtests.conf.sample | ||
post_test_hook.sh | ||
pre_test_hook.sh | ||
prepare_test_env.sh | ||
README.rst | ||
requirements.txt |
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