diff options
Diffstat (limited to 'openstackclient/tests/functional/volume/v2/test_snapshot.py')
| -rw-r--r-- | openstackclient/tests/functional/volume/v2/test_snapshot.py | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/openstackclient/tests/functional/volume/v2/test_snapshot.py b/openstackclient/tests/functional/volume/v2/test_snapshot.py index 4582b67d..fcbc31cb 100644 --- a/openstackclient/tests/functional/volume/v2/test_snapshot.py +++ b/openstackclient/tests/functional/volume/v2/test_snapshot.py @@ -52,9 +52,12 @@ class SnapshotTests(common.BaseVolumeTests): 'snapshot set --name ' + cls.OTHER_NAME + ' ' + cls.NAME) cls.assertOutput('', raw_output) # Delete test - raw_output = cls.openstack('snapshot delete ' + cls.OTHER_NAME) - cls.assertOutput('', raw_output) - cls.openstack('volume delete --force ' + cls.VOLLY, fail_ok=True) + raw_output_snapshot = cls.openstack( + 'snapshot delete ' + cls.OTHER_NAME) + cls.wait_for_status('volume show ' + cls.VOLLY, 'available\n', 6) + raw_output_volume = cls.openstack('volume delete --force ' + cls.VOLLY) + cls.assertOutput('', raw_output_snapshot) + cls.assertOutput('', raw_output_volume) def test_snapshot_list(self): opts = self.get_opts(self.HEADERS) |
