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
This commit is contained in:
Anastasia Kuznetsova 2014-08-26 16:29:18 +04:00
parent 907f25f8fa
commit 4dcd99cc4b
3 changed files with 5 additions and 5 deletions

View File

@ -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:

View File

@ -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:

View File

@ -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.',