Fix incorrect decorator order in upgrade tests
Looks like decorators order is valuable for proboscis - fix it. Change-Id: Ia8d1343131435705cafb220032738b69a1044790
This commit is contained in:
parent
602e771eb0
commit
5e5d98a024
|
@ -383,8 +383,8 @@ class UpgradeCephHA(DataDrivenUpgradeBase):
|
|||
self.backup_name = "backup_ceph_ha.tar.gz"
|
||||
self.repos_backup_name = "repos_backup_ceph_ha.tar.gz"
|
||||
|
||||
@log_snapshot_after_test
|
||||
@test(groups=['upgrade_ceph_ha_restore'])
|
||||
@log_snapshot_after_test
|
||||
def upgrade_ceph_ha_restore(self):
|
||||
"""Reinstall Fuel and restore data with Tun+Ceph+HA cluster
|
||||
|
||||
|
|
|
@ -156,6 +156,7 @@ class TestUpgradeNetworkTemplates(TestNetworkTemplatesBase,
|
|||
self.env.make_snapshot(self.source_snapshot_name, is_make=True)
|
||||
|
||||
@test(groups=["upgrade_net_tmpl_restore"])
|
||||
@log_snapshot_after_test
|
||||
def upgrade_net_tmpl_restore(self):
|
||||
"""Restore Fuel master - network templates
|
||||
|
||||
|
|
|
@ -117,8 +117,8 @@ class UpgradePlugin(DataDrivenUpgradeBase):
|
|||
self.repos_backup_path, self.repos_local_path)
|
||||
self.env.make_snapshot(self.source_snapshot_name, is_make=True)
|
||||
|
||||
@log_snapshot_after_test
|
||||
@test(groups=['upgrade_plugin_tests', 'upgrade_plugin_restore'])
|
||||
@log_snapshot_after_test
|
||||
def upgrade_plugin_restore(self):
|
||||
"""Reinstall Fuel and restore data with cluster with example plugin
|
||||
|
||||
|
@ -184,9 +184,9 @@ class UpgradePlugin(DataDrivenUpgradeBase):
|
|||
self.env.make_snapshot(self.snapshot_name, is_make=True)
|
||||
self.cleanup()
|
||||
|
||||
@log_snapshot_after_test
|
||||
@test(groups=['upgrade_plugin_tests', 'upgrade_plugin_scale'],
|
||||
depends_on_groups=['upgrade_plugin_restore'])
|
||||
@log_snapshot_after_test
|
||||
def upgrade_plugin_scale(self):
|
||||
"""Add 1 node with plugin custom role to existing cluster
|
||||
|
||||
|
|
|
@ -89,6 +89,7 @@ class UpgradeCustom(DataDrivenUpgradeBase):
|
|||
self.cleanup()
|
||||
|
||||
@test(groups=['upgrade_custom_tarball'])
|
||||
@log_snapshot_after_test
|
||||
def upgrade_custom_tarball(self):
|
||||
"""Upgrade master node via tarball"""
|
||||
self.check_run(self.backup_snapshot_name)
|
||||
|
|
Loading…
Reference in New Issue