Increased timeout for Heat autoscaling test

The autoscaling timeout in Ceilometer is 600 seconds,
we need to make sure autoscaling will make an alarm
in Ceilometer withing timeout*2 + several seconds to
pass this test in 100% of cases.

Change-Id: I6b2a43e4acb4b8d76641ee314ca19e67b999500a
Closes-Bug: #1584190
This commit is contained in:
Timur Nurlygayanov 2016-08-30 19:40:10 +03:00
parent be768c4346
commit f646b843ac
1 changed files with 4 additions and 4 deletions

View File

@ -693,18 +693,18 @@ class HeatSmokeTests(heatmanager.HeatBaseTest):
# launching the second instance during autoscaling
self.verify(
720, self.wait_for_autoscaling,
1500, self.wait_for_autoscaling,
10, 'Failed to launch the 2nd instance per autoscaling alarm.',
'launching the new instance per autoscaling alarm',
len(instances) + 2, 720, 10, reduced_stack_name
len(instances) + 2, 1500, 10, reduced_stack_name
)
# termination of the second instance during autoscaling
self.verify(
720, self.wait_for_autoscaling,
1500, self.wait_for_autoscaling,
11, 'Failed to terminate the 2nd instance per autoscaling alarm.',
'terminating the 2nd instance per autoscaling alarm',
len(instances) + 1, 720, 10, reduced_stack_name
len(instances) + 1, 1500, 10, reduced_stack_name
)
# deletion of file with keypair from vm