heat/heat/tests/openstack/heat
Zane Bitter ce120bfda8 Avoid loading nested stack in some grouputils functions
We want to avoid loading a nested stack in memory wherever possible, since
that is known to cause memory high-water-mark issues. The grouputils
functions are among the worst offenders at doing this. Some of the data
that they return is easily obtained from an RPC call to
list_stack_resources, so swap out the implementations using nested().

Rather than simply add more utility functions, a GroupInspector class is
created that can cache the data returned. In future this will allow groups
that need to access multiple functions from the grouputils to do so without
making multiple RPC calls. (Previously, the data was cached in the group's
nested Stack.)

Change-Id: Icd35d91bce30ee36d9592b0516767ef273a9f34d
Partial-Bug: #1731349
2018-01-08 18:19:10 -05:00
..
__init__.py Change namespace for Heat resources and tests 2015-11-27 01:37:07 +08:00
test_cloud_config.py Add one general testing of resource_mapping 2016-02-25 02:52:34 -05:00
test_cloudwatch.py No need to check if resource not created 2017-02-15 06:14:45 +00:00
test_cw_alarm.py Begin move of UpdateReplace back to its rightful location 2016-08-18 12:57:54 -04:00
test_deployed_server.py Removed unnecessary setUp() call in tests 2017-08-01 16:43:59 +02:00
test_instance_group.py Avoid loading nested stack in some grouputils functions 2018-01-08 18:19:10 -05:00
test_instance_group_update_policy.py Use more specific asserts in tests 2016-11-22 08:12:35 +01:00
test_multi_part.py Use exception_filter in RPC client 2017-03-27 14:38:53 -04:00
test_none_resource.py Update StackDefinition resource data when getting outputs 2017-07-21 10:30:34 -04:00
test_random_string.py Use correct raw string format 2017-11-16 18:23:58 -05:00
test_remote_stack.py Use StackDefinition in intrinsic functions for resolving data 2017-07-21 10:30:34 -04:00
test_resource_chain.py Use StackDefinition in intrinsic functions for resolving data 2017-07-21 10:30:34 -04:00
test_resource_group.py Avoid loading nested stack in some grouputils functions 2018-01-08 18:19:10 -05:00
test_restarter.py Unit tests: make tests more realistic 2017-07-21 10:30:34 -04:00
test_software_component.py Use exception_filter in RPC client 2017-03-27 14:38:53 -04:00
test_software_config.py Use exception_filter in RPC client 2017-03-27 14:38:53 -04:00
test_software_deployment.py Merge "Implement handle_<action>_cancel for SoftwareDeployment" 2017-08-10 17:38:48 +00:00
test_structured_config.py Validate the input/output configs in Software Config 2016-08-10 11:01:35 -04:00
test_swiftsignal.py Use correct raw string format 2017-11-16 18:23:58 -05:00
test_value.py Update StackDefinition resource data when getting outputs 2017-07-21 10:30:34 -04:00
test_waitcondition.py Correct validation of wait conditon 2017-06-08 06:46:16 +00:00