diff options
author | rabi <ramishra@redhat.com> | 2017-04-25 13:32:05 +0530 |
---|---|---|
committer | rabi <ramishra@redhat.com> | 2018-01-28 09:41:20 +0530 |
commit | 0558b10c48734e94b65b35a4d9ad9356ada9f193 (patch) | |
tree | 763e94cd9a0c7cac01e14e6ac6fe0b0ca3040b77 /heat_integrationtests/common/test.py | |
parent | 3a2497a46cc4b7cf72bf7605433c91344da82704 (diff) | |
download | heat-0558b10c48734e94b65b35a4d9ad9356ada9f193.tar.gz |
Remove use of CooldownMixin with scaling policy
Removes the multiple use of the mixin, so that we don't
set metadata for both policy and group. Setting the cooldown
metadata only for group would suffice.
Change-Id: I241a32b52e0708264c80c3eca313a97534927415
Related-Bug: #1555748
Diffstat (limited to 'heat_integrationtests/common/test.py')
-rw-r--r-- | heat_integrationtests/common/test.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/heat_integrationtests/common/test.py b/heat_integrationtests/common/test.py index 1300169ee..88988ec48 100644 --- a/heat_integrationtests/common/test.py +++ b/heat_integrationtests/common/test.py @@ -682,13 +682,13 @@ class HeatIntegrationTest(testscenarios.WithScenarios, time.sleep(build_interval) def check_autoscale_complete(self, stack_id, expected_num, parent_stack, - policy): + group_name): res_list = self.client.resources.list(stack_id) all_res_complete = all(res.resource_status in ('UPDATE_COMPLETE', 'CREATE_COMPLETE') for res in res_list) all_res = len(res_list) == expected_num if all_res and all_res_complete: - metadata = self.client.resources.metadata(parent_stack, policy) + metadata = self.client.resources.metadata(parent_stack, group_name) return not metadata.get('scaling_in_progress') return False |