heat/heat_integrationtests
Sergey Kraynev bf20657824 Unify workers options for API services
This patch change behaviour of launching API services for different
numbers of workers:
- workers < 0 -> is not allowed
- workers == 0 -> as much worker *processes* as CPU cores
- workers == 1 -> no child *processes*, single *green thread*
- workers > 1 -> specified number of worker *processes*

Note: According with old behaviour following services have corresponding
defaul values:
 - heat-api  -> '0', instead of function for calculation number of cores.
 - heat-api-cfn -> '1', instead of '0' (i.e. one *green thread*)
 - heat-api-cw -> '1', instead of '0' (i.e. one *green thread*)

Also updated number of workers for functional tests.
It's necessary, because priveous value was '1', which now mean one
single thread. (Previously it was one worker).

Change-Id: Idebd19c62adea02d9181236f6cbfed090acb32b9
Closes-Bug: #1523390
2016-01-18 13:16:48 +00:00
..
common Remove default None value for config options 2015-11-09 17:12:41 +05:30
functional Merge "Fix database purge query" 2016-01-18 13:14:41 +00:00
scenario Using LOG.warning replace LOG.warn 2015-12-29 09:32:42 +00:00
.gitignore Support classes for heat integration tests 2014-09-24 09:02:20 +12:00
README.rst Fix failures related to the mock 1.1.0 release 2015-07-10 17:11:22 +02:00
__init__.py Support classes for heat integration tests 2014-09-24 09:02:20 +12:00
config-generator.conf Get tox to generate config for heat_integrationtests 2015-02-04 00:01:26 +05:30
heat_integrationtests.conf.sample Adds option to skip specific tests 2015-08-12 20:04:13 +05:30
post_test_hook.sh Fix integration tests hooks 2015-07-17 11:01:31 +00:00
pre_test_hook.sh Unify workers options for API services 2016-01-18 13:16:48 +00:00
prepare_test_env.sh Revert "Disable CeilometerAlarmTest.test_alarm" 2016-01-04 12:27:39 +00:00
prepare_test_network.sh Fix integration tests hooks 2015-07-17 11:01:31 +00:00
requirements.txt Manually sync functional test requirements 2015-10-21 15:01:52 +08:00

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:

# source DevStack credentials

source /opt/stack/devstack/openrc

# 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