Browse Source

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
Timur Nurlygayanov 2 years ago
parent
commit
923c1231c4
1 changed files with 4 additions and 4 deletions
  1. 4
    4
      fuel_health/tests/tests_platform/test_heat.py

+ 4
- 4
fuel_health/tests/tests_platform/test_heat.py View File

@@ -693,18 +693,18 @@ class HeatSmokeTests(heatmanager.HeatBaseTest):
693 693
 
694 694
         # launching the second instance during autoscaling
695 695
         self.verify(
696
-            720, self.wait_for_autoscaling,
696
+            1500, self.wait_for_autoscaling,
697 697
             10, 'Failed to launch the 2nd instance per autoscaling alarm.',
698 698
             'launching the new instance per autoscaling alarm',
699
-            len(instances) + 2, 720, 10, reduced_stack_name
699
+            len(instances) + 2, 1500, 10, reduced_stack_name
700 700
         )
701 701
 
702 702
         # termination of the second instance during autoscaling
703 703
         self.verify(
704
-            720, self.wait_for_autoscaling,
704
+            1500, self.wait_for_autoscaling,
705 705
             11, 'Failed to terminate the 2nd instance per autoscaling alarm.',
706 706
             'terminating the 2nd instance per autoscaling alarm',
707
-            len(instances) + 1, 720, 10, reduced_stack_name
707
+            len(instances) + 1, 1500, 10, reduced_stack_name
708 708
         )
709 709
 
710 710
         # deletion of file with keypair from vm

Loading…
Cancel
Save