compute: Remove snapshot quiesce tests for STOPPED and SUSPENDED instances

At present only the libvirt virt driver implements any form of instance
quiescing and this is only done when the instance is ACTIVE. As a result
we can remove these two tests for STOPPED and SUSPENDED instances.

Change-Id: Ie9db52c31bfe5df70456342c3ec7f83c0e23487f
This commit is contained in:
Lee Yarwood 2020-05-14 11:13:08 +01:00
parent cfde53e4b4
commit 7776cc02a1
1 changed files with 0 additions and 10 deletions

View File

@ -3306,16 +3306,6 @@ class _ComputeAPIUnitTestMixIn(object):
quiesce_required=True,
quiesce_unsupported=True)
def test_snapshot_volume_backed_with_quiesce_stopped(self):
self._test_snapshot_volume_backed(quiesce_required=True,
quiesce_unsupported=True,
vm_state=vm_states.STOPPED)
def test_snapshot_volume_backed_with_quiesce_suspended(self):
self._test_snapshot_volume_backed(quiesce_required=True,
quiesce_unsupported=True,
vm_state=vm_states.SUSPENDED)
def test_snapshot_volume_backed_with_suspended(self):
self._test_snapshot_volume_backed(quiesce_required=False,
quiesce_unsupported=True,