heat/heat/tests
Rabi Mishra 26d8f64fc9 Allow scale-down of ASG as part of update
When user wants to do manual scale-up of ASG by increasing the
desired_capacity and also update some member properties as
part of a stack update, if it fails due to insufficient
resources when resizing, trying to manually scale-down by
decreasing the desired_capacity won't work, as it would
always expect to update the group with the earlier size
before scaling down.

This patch uses the target_size when building the batches.

Task: 39867
Change-Id: Id851530b424f68b5e0e967fe34431483bfffd852
2020-05-28 05:08:44 +05:30
..
api Merge "Clean up API policy decorators" 2020-05-07 17:14:06 +00:00
autoscaling Use unittest.mock instead of third party mock 2020-05-05 08:42:11 -05:00
aws Use unittest.mock instead of third party mock 2020-05-05 08:42:11 -05:00
clients Use unittest.mock instead of third party mock 2020-05-05 08:42:11 -05:00
cmd Add heat-status upgrade check command framework 2018-10-22 14:19:36 +00:00
constraints Use unittest.mock instead of third party mock 2020-05-05 08:42:11 -05:00
convergence Use unittest.mock instead of third party mock 2020-05-05 08:42:11 -05:00
db Use unittest.mock instead of third party mock 2020-05-05 08:42:11 -05:00
engine Fix pep8 E741 errors 2020-05-12 11:28:31 +05:30
openstack Allow scale-down of ASG as part of update 2020-05-28 05:08:44 +05:30
policy Remove CloudWatch API 2018-01-28 09:11:17 +05:30
templates Fixes JSON to YAML conversion bug 2015-06-25 07:32:34 -07:00
__init__.py Fix hacking warnings 2020-04-16 06:43:27 +00:00
common.py Destroy mox forever 2018-07-05 14:46:21 -04:00
fakes.py Fix pep8 E741 errors 2020-05-12 11:28:31 +05:30
generic_resource.py Check external resources after creation 2020-04-30 09:51:40 -04:00
test_attributes.py Use unittest.mock instead of third party mock 2020-05-05 08:42:11 -05:00
test_auth_password.py Use unittest.mock instead of third party mock 2020-05-05 08:42:11 -05:00
test_auth_url.py Use unittest.mock instead of third party mock 2020-05-05 08:42:11 -05:00
test_common_auth_plugin.py Use unittest.mock instead of third party mock 2020-05-05 08:42:11 -05:00
test_common_context.py Use unittest.mock instead of third party mock 2020-05-05 08:42:11 -05:00
test_common_env_util.py Handle zero values when merging environments 2017-03-02 22:03:20 +01:00
test_common_exception.py Adds error_code in heat exceptions 2015-11-05 18:10:50 +05:30
test_common_param_utils.py Raise HTTPBadRequest instead of ValueError for API validation 2015-05-27 03:48:44 +00:00
test_common_policy.py Remove mox from test_common_policy 2018-03-01 17:14:41 +01:00
test_common_serializers.py Remove six and python 2.7 full support 2020-04-23 14:49:12 +02:00
test_common_service_utils.py Show an engine as down if service record is not updated twice 2019-07-24 03:16:57 +00:00
test_constraints.py Remove six and python 2.7 full support 2020-04-23 14:49:12 +02:00
test_convg_stack.py Use unittest.mock instead of third party mock 2020-05-05 08:42:11 -05:00
test_crypt.py Remove six and python 2.7 full support 2020-04-23 14:49:12 +02:00
test_dbinstance.py Remove unnecessary setUp and tearDown 2016-09-30 10:56:31 +08:00
test_empty_stack.py Show deprecated warnings when import parser 2015-04-14 17:49:15 +08:00
test_engine_api_utils.py Merge "Return empty list instead of None for tags" 2020-05-11 21:59:55 +00:00
test_engine_service.py Use unittest.mock instead of third party mock 2020-05-05 08:42:11 -05:00
test_environment.py Use unittest.mock instead of third party mock 2020-05-05 08:42:11 -05:00
test_environment_format.py Use unittest.mock instead of third party mock 2020-05-05 08:42:11 -05:00
test_event.py Use unittest.mock instead of third party mock 2020-05-05 08:42:11 -05:00
test_exception.py Use unittest.mock instead of third party mock 2020-05-05 08:42:11 -05:00
test_fault_middleware.py Remove six and python 2.7 full support 2020-04-23 14:49:12 +02:00
test_function.py Remove six and python 2.7 full support 2020-04-23 14:49:12 +02:00
test_grouputils.py Use unittest.mock instead of third party mock 2020-05-05 08:42:11 -05:00
test_hacking.py Remove six and python 2.7 full support 2020-04-23 14:49:12 +02:00
test_hot.py Use unittest.mock instead of third party mock 2020-05-05 08:42:11 -05:00
test_identifier.py Revert "Revert "Enable heat to use uwsgi with devstack"" 2017-07-07 11:00:04 +05:30
test_lifecycle_plugin_utils.py Use unittest.mock instead of third party mock 2020-05-05 08:42:11 -05:00
test_loguserdata.py Use unittest.mock instead of third party mock 2020-05-05 08:42:11 -05:00
test_metadata_refresh.py Use unittest.mock instead of third party mock 2020-05-05 08:42:11 -05:00
test_nested_stack.py Use unittest.mock instead of third party mock 2020-05-05 08:42:11 -05:00
test_noauth.py Remove six and python 2.7 full support 2020-04-23 14:49:12 +02:00
test_nokey.py Change NovaClientPlugin to use MicroversionMixin 2018-06-29 09:37:44 +05:30
test_notifications.py Use unittest.mock instead of third party mock 2020-05-05 08:42:11 -05:00
test_parameters.py Remove six and python 2.7 full support 2020-04-23 14:49:12 +02:00
test_plugin_loader.py Use unittest.mock instead of third party mock 2020-05-05 08:42:11 -05:00
test_properties.py Use unittest.mock instead of third party mock 2020-05-05 08:42:11 -05:00
test_properties_group.py Remove six and python 2.7 full support 2020-04-23 14:49:12 +02:00
test_provider_template.py Use unittest.mock instead of third party mock 2020-05-05 08:42:11 -05:00
test_resource.py Use unittest.mock instead of third party mock 2020-05-05 08:42:11 -05:00
test_resource_properties_data.py Store resource attributes in the DB 2017-06-21 20:18:46 -04:00
test_rpc_client.py Use unittest.mock instead of third party mock 2020-05-05 08:42:11 -05:00
test_rpc_listener_client.py Use unittest.mock instead of third party mock 2020-05-05 08:42:11 -05:00
test_rpc_worker_client.py Use unittest.mock instead of third party mock 2020-05-05 08:42:11 -05:00
test_rsrc_defn.py Remove six and python 2.7 full support 2020-04-23 14:49:12 +02:00
test_server_tags.py Use unittest.mock instead of third party mock 2020-05-05 08:42:11 -05:00
test_short_id.py Less unicode weirdness in short_id 2017-05-01 16:44:59 -04:00
test_signal.py Use unittest.mock instead of third party mock 2020-05-05 08:42:11 -05:00
test_stack.py Use unittest.mock instead of third party mock 2020-05-05 08:42:11 -05:00
test_stack_collect_attributes.py Remove six and python 2.7 full support 2020-04-23 14:49:12 +02:00
test_stack_delete.py Use unittest.mock instead of third party mock 2020-05-05 08:42:11 -05:00
test_stack_lock.py Use unittest.mock instead of third party mock 2020-05-05 08:42:11 -05:00
test_stack_resource.py Use unittest.mock instead of third party mock 2020-05-05 08:42:11 -05:00
test_stack_update.py Use unittest.mock instead of third party mock 2020-05-05 08:42:11 -05:00
test_stack_user.py Use unittest.mock instead of third party mock 2020-05-05 08:42:11 -05:00
test_support.py Remove six and python 2.7 full support 2020-04-23 14:49:12 +02:00
test_template.py Remove six and python 2.7 full support 2020-04-23 14:49:12 +02:00
test_template_files.py del _session(), use context.session directly 2016-06-22 10:45:04 +12:00
test_template_format.py Use unittest.mock instead of third party mock 2020-05-05 08:42:11 -05:00
test_timeutils.py Get rid of timeutils.round_to_seconds() 2017-05-04 20:41:34 -04:00
test_translation_rule.py Use unittest.mock instead of third party mock 2020-05-05 08:42:11 -05:00
test_urlfetch.py Remove six and python 2.7 full support 2020-04-22 12:23:44 +02:00
test_validate.py Use unittest.mock instead of third party mock 2020-05-05 08:42:11 -05:00
test_version.py Coverage: Additional test case for better coverage 2015-06-16 13:01:30 +05:30
test_vpc.py Use unittest.mock instead of third party mock 2020-05-05 08:42:11 -05:00
testing-overview.txt Trivial: Update pypi url to new url 2018-08-31 04:07:35 +00:00
utils.py Remove mox usage from test_heat_client 2018-07-05 17:16:04 +08:00