Merge "Move test_fuel_migration from system tests to pytest"

This commit is contained in:
Jenkins 2017-03-06 09:46:35 +00:00 committed by Gerrit Code Review
commit 1fac36b476
1 changed files with 25 additions and 0 deletions

View File

@ -40,6 +40,7 @@ def fuel_master_migration(request):
@pytest.mark.get_logs
@pytest.mark.fail_snapshot
@pytest.mark.fuel_master_migrate
class TestFuelMasterMigrate(object):
compute = None
@ -55,6 +56,30 @@ class TestFuelMasterMigrate(object):
}
}
@pytest.mark.need_ready_cluster
@pytest.mark.usefixtures("fuel_master_migration")
@pytest.mark.test_fuel_master_migrate
def test_fuel_master_migrate(self):
"""Fuel master migration to VM
Scenario:
1. Create environment with two computes and three controllers
2. Run network checker
3. Deploy environment
4. Run network checker
5. Migrate Fuel Master to the compute node
6. Run network checker
7. Run OSTF
"""
self.manager.show_step(1)
self.manager.show_step(2)
self.manager.show_step(3)
self.manager.show_step(4)
self.manager.show_step(5)
self.manager.show_step(6)
self.manager.show_step(7)
@pytest.mark.need_ready_cluster
@pytest.mark.usefixtures("fuel_master_migration")
@pytest.mark.test_compute_hard_restart