Improve reusability of NeutronTunHaBase
Add check_run(snapshot) to the beggining of deploy_neutron_tun_ha_base Add forced snapshot creation to the end of deploy_neutron_tun_ha_base Change-Id: Ie26abad63f45eb1b9c8236e5349761fbe508f3f1 Closes-Bug: 1486671
This commit is contained in:
parent
a2424cdf83
commit
79b8704ff1
|
@ -25,6 +25,7 @@ class NeutronTunHaBase(TestBasic):
|
|||
"""NeutronTunHaBase.""" # TODO documentation
|
||||
|
||||
def deploy_neutron_tun_ha_base(self, snapshot_name):
|
||||
self.check_run(snapshot_name)
|
||||
self.env.revert_snapshot("ready_with_5_slaves")
|
||||
|
||||
cluster_id = self.fuel_web.create_cluster(
|
||||
|
@ -74,4 +75,4 @@ class NeutronTunHaBase(TestBasic):
|
|||
cluster_id=cluster_id,
|
||||
test_sets=['ha', 'smoke', 'sanity'])
|
||||
|
||||
self.env.make_snapshot(snapshot_name)
|
||||
self.env.make_snapshot(snapshot_name, is_make=True)
|
||||
|
|
Loading…
Reference in New Issue