diff options
author | Zane Bitter <zbitter@redhat.com> | 2017-12-19 16:35:46 -0500 |
---|---|---|
committer | Zane Bitter <zbitter@redhat.com> | 2018-01-19 15:40:37 -0500 |
commit | 42b386d8a69a60259e4803755810b945ef81b0d5 (patch) | |
tree | 293c48bf9ff0fd57090ae741bf8de689125a21a8 /heat/tests/test_grouputils.py | |
parent | 32ec5141de1a8017ccfddc5dccf114deff8271ba (diff) | |
download | heat-42b386d8a69a60259e4803755810b945ef81b0d5.tar.gz |
Eliminate nested stack loading in InstanceGroup/ASG scaling
Obtain the current group capacity, and the reference IDs for updating load
balancers (if any) over RPC from a GroupInspector and the nested stack
outputs. Fall back to grouputils (which loads the nested stack in memory)
only if the output containing the reference IDs is not available.
Change-Id: Ic6909e42edf709ba1cd99ba71f2d2f06570a615f
Closes-Bug: #1731349
Diffstat (limited to 'heat/tests/test_grouputils.py')
-rw-r--r-- | heat/tests/test_grouputils.py | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/heat/tests/test_grouputils.py b/heat/tests/test_grouputils.py index 428abf93b..5c26e60be 100644 --- a/heat/tests/test_grouputils.py +++ b/heat/tests/test_grouputils.py @@ -58,8 +58,6 @@ class GroupUtilsTest(common.HeatTestCase): # refids actual_ids = grouputils.get_member_refids(group) self.assertEqual(['ID-r0', 'ID-r1'], actual_ids) - partial_ids = grouputils.get_member_refids(group, exclude=['ID-r1']) - self.assertEqual(['ID-r0'], partial_ids) def test_group_with_failed_members(self): group = mock.Mock() |