Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- @pytest.mark.need_ready_cluster
- @pytest.mark.test_compute_warm_restart
- def test_compute_warm_restart(self, fuel_master_migration):
- @pytest.mark.need_ready_cluster
- @pytest.mark.test_compute_hard_restart
- def test_compute_hard_restart(self, fuel_master_migration):
- @pytest.fixture(scope='session')
- def fuel_master_migration(request):
- """Fixture which migrate Fuel Master to a compute"""
- instance = request.instance
- cluster_id = instance._storage['cluster_id']
- instance.start_fuel_migration()
- instance.check_migration_status()
- instance.run_checkers()
- instance.manager.fuel_web.verify_network(cluster_id)
- instance.manager.fuel_web.run_ostf(cluster_id=cluster_id)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement