Browse Source

Add check_ceph health into gate_ostf

In gate test we do not check ceph health after revert,
that leads to false negative result like in lp1570805. Add it usage here.
Also enable platfrom tests to run

Change-Id: I2de88b66978149f535e8c13fd9c402c9ee407a8a
Closes-Bug: #1570805
tags/10.0.0rc1
Tatyana Leontovich 3 years ago
parent
commit
03c3fd8cf9
1 changed files with 6 additions and 9 deletions
  1. 6
    9
      gates_tests/tests/test_review_in_ostf.py

+ 6
- 9
gates_tests/tests/test_review_in_ostf.py View File

@@ -83,12 +83,9 @@ class GateOstf(TestBasic):
83 83
         self.fuel_web.deploy_cluster_wait(cluster_id)
84 84
 
85 85
         all_test_suits = self.fuel_web.get_all_ostf_set_names(cluster_id)
86
-        # Temporary do not execute platform
87
-        # test until https://bugs.launchpad.net/fuel/+bug/1544179 fixed
88
-        # TODO(tleontovich) enable platform test after fix LP1544179
89 86
         test_to_execute = [
90 87
             suite for suite in all_test_suits
91
-            if suite not in ['configuration', 'tests_platform']]
88
+            if suite not in ['configuration']]
92 89
         self.fuel_web.run_ostf(
93 90
             cluster_id=cluster_id,
94 91
             test_sets=test_to_execute)
@@ -104,7 +101,8 @@ class GateOstf(TestBasic):
104 101
         Scenario:
105 102
             1. Revert snapshot "gate_ostf_ceph_ha"
106 103
             2. Update ostf
107
-            3. Run ostf
104
+            3. Check ceph cluster health
105
+            4. Run ostf
108 106
 
109 107
         Duration 35m
110 108
 
@@ -120,13 +118,12 @@ class GateOstf(TestBasic):
120 118
         update_ostf()
121 119
         cluster_id = self.fuel_web.get_last_created_cluster()
122 120
         self.show_step(3)
121
+        self.fuel_web.check_ceph_status(cluster_id, recovery_timeout=500)
122
+        self.show_step(4)
123 123
         all_test_suits = self.fuel_web.get_all_ostf_set_names(cluster_id)
124
-        # Temporary do not execute platform
125
-        # test until https://bugs.launchpad.net/fuel/+bug/1544179 fixed
126
-        # TODO(tleontovich) enable platform test after fix LP1544179
127 124
         test_to_execute = [
128 125
             suite for suite in all_test_suits
129
-            if suite not in ['configuration', 'tests_platform']]
126
+            if suite not in ['configuration']]
130 127
         self.fuel_web.run_ostf(
131 128
             cluster_id=cluster_id,
132 129
             test_sets=test_to_execute)

Loading…
Cancel
Save