Merge "Fix logical error for reusing snapshots" into stable/mitaka

This commit is contained in:
Jenkins 2016-07-01 08:52:00 +00:00 committed by Gerrit Code Review
commit 419009e72d
1 changed files with 3 additions and 3 deletions

View File

@ -527,9 +527,9 @@ class UpgradeRollback(DataDrivenUpgradeBase):
Snapshot: upgrade_rollback_ceph_ha
Duration: XX m
"""
self.check_run(self.snapshot_name)
assert_true(os.path.exists(self.repos_local_path))
assert_true(os.path.exists(self.local_path))
self.check_run(self.snapshot_name)
self.show_step(1)
assert_true(
self.env.revert_snapshot(self.source_snapshot_name),
@ -713,10 +713,10 @@ class UpgradeSmoke(DataDrivenUpgradeBase):
Duration: TODO
"""
self.check_run(self.snapshot_name)
assert_true(os.path.exists(self.repos_local_path))
assert_true(os.path.exists(self.local_path))
self.check_run(self.snapshot_name)
self.show_step(1, initialize=True)
assert_true(
self.env.revert_snapshot(self.source_snapshot_name),
@ -1090,10 +1090,10 @@ class UpgradeDetach_Plugin(DataDrivenUpgradeBase):
Snapshot: upgrade_detach_plugin_restore
Duration: TODO
"""
self.check_run(self.snapshot_name)
assert_true(os.path.exists(self.repos_local_path))
assert_true(os.path.exists(self.local_path))
self.check_run(self.snapshot_name)
self.show_step(1, initialize=True)
assert_true(
self.env.revert_snapshot(self.source_snapshot_name),