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
(cherry picked from commit 03c3fd8cf9
)
This commit is contained in:
parent
38ec74630e
commit
7b7311cf6f
|
@ -83,12 +83,9 @@ class GateOstf(TestBasic):
|
|||
self.fuel_web.deploy_cluster_wait(cluster_id)
|
||||
|
||||
all_test_suits = self.fuel_web.get_all_ostf_set_names(cluster_id)
|
||||
# Temporary do not execute platform
|
||||
# test until https://bugs.launchpad.net/fuel/+bug/1544179 fixed
|
||||
# TODO(tleontovich) enable platform test after fix LP1544179
|
||||
test_to_execute = [
|
||||
suite for suite in all_test_suits
|
||||
if suite not in ['configuration', 'tests_platform']]
|
||||
if suite not in ['configuration']]
|
||||
self.fuel_web.run_ostf(
|
||||
cluster_id=cluster_id,
|
||||
test_sets=test_to_execute)
|
||||
|
@ -104,7 +101,8 @@ class GateOstf(TestBasic):
|
|||
Scenario:
|
||||
1. Revert snapshot "gate_ostf_ceph_ha"
|
||||
2. Update ostf
|
||||
3. Run ostf
|
||||
3. Check ceph cluster health
|
||||
4. Run ostf
|
||||
|
||||
Duration 35m
|
||||
|
||||
|
@ -120,13 +118,12 @@ class GateOstf(TestBasic):
|
|||
update_ostf()
|
||||
cluster_id = self.fuel_web.get_last_created_cluster()
|
||||
self.show_step(3)
|
||||
self.fuel_web.check_ceph_status(cluster_id, recovery_timeout=500)
|
||||
self.show_step(4)
|
||||
all_test_suits = self.fuel_web.get_all_ostf_set_names(cluster_id)
|
||||
# Temporary do not execute platform
|
||||
# test until https://bugs.launchpad.net/fuel/+bug/1544179 fixed
|
||||
# TODO(tleontovich) enable platform test after fix LP1544179
|
||||
test_to_execute = [
|
||||
suite for suite in all_test_suits
|
||||
if suite not in ['configuration', 'tests_platform']]
|
||||
if suite not in ['configuration']]
|
||||
self.fuel_web.run_ostf(
|
||||
cluster_id=cluster_id,
|
||||
test_sets=test_to_execute)
|
||||
|
|
Loading…
Reference in New Issue