From 4dcd99cc4bfa19f52d4b87ed321eb84ff03844da Mon Sep 17 00:00:00 2001 From: Anastasia Kuznetsova Date: Tue, 26 Aug 2014 16:29:18 +0400 Subject: [PATCH] Fix issue with periodic fail of Heat test 'test_autoscaling' -Increased alarms period in templates -Increased number of RAM in test flavor Closes-Bug: #1361629 Change-Id: I51a1480c5dd5350098124f4f06fc28f4b1e02333 --- fuel_health/etc/heat_autoscale_nova.yaml | 4 ++-- fuel_health/etc/heat_autoscaling_template.yaml | 4 ++-- fuel_health/tests/platform_tests/test_heat.py | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/fuel_health/etc/heat_autoscale_nova.yaml b/fuel_health/etc/heat_autoscale_nova.yaml index 2f5216c6..cd594925 100644 --- a/fuel_health/etc/heat_autoscale_nova.yaml +++ b/fuel_health/etc/heat_autoscale_nova.yaml @@ -45,7 +45,7 @@ resources: MetricName: CPUUtilization Namespace: system/linux Statistic: Average - Period: '20' + Period: '60' EvaluationPeriods: '1' Threshold: '50' AlarmActions: @@ -61,7 +61,7 @@ resources: MetricName: CPUUtilization Namespace: system/linux Statistic: Average - Period: '20' + Period: '60' EvaluationPeriods: '1' Threshold: '30' AlarmActions: diff --git a/fuel_health/etc/heat_autoscaling_template.yaml b/fuel_health/etc/heat_autoscaling_template.yaml index 4d71f9df..2f08b863 100644 --- a/fuel_health/etc/heat_autoscaling_template.yaml +++ b/fuel_health/etc/heat_autoscaling_template.yaml @@ -47,7 +47,7 @@ resources: MetricName: CPUUtilization Namespace: system/linux Statistic: Average - Period: '20' + Period: '60' EvaluationPeriods: '1' Threshold: '50' AlarmActions: @@ -63,7 +63,7 @@ resources: MetricName: CPUUtilization Namespace: system/linux Statistic: Average - Period: '20' + Period: '60' EvaluationPeriods: '1' Threshold: '30' AlarmActions: diff --git a/fuel_health/tests/platform_tests/test_heat.py b/fuel_health/tests/platform_tests/test_heat.py index f5efc83b..754ed8f0 100644 --- a/fuel_health/tests/platform_tests/test_heat.py +++ b/fuel_health/tests/platform_tests/test_heat.py @@ -234,7 +234,7 @@ class HeatSmokeTests(heatmanager.HeatBaseTest): flavor = self.verify(10, self._create_flavors, 2, "Flavor can not be created.", "flavor creation", - self.compute_client, 382, 12) + self.compute_client, 512, 12) keypair = self.verify(10, self._create_keypair, 3, 'Keypair can not be created.',