summaryrefslogtreecommitdiff
path: root/heat_integrationtests/common/test.py
diff options
context:
space:
mode:
Diffstat (limited to 'heat_integrationtests/common/test.py')
-rw-r--r--heat_integrationtests/common/test.py4
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