Fix integrated test cases for assisted-volume-snapshots
qcow is not a valid type of snapshot in real environment, the require type should be qcow2 instead of qcow. Change-Id: I0fc8e90913699074cd997f5c1e0693372436d14f
This commit is contained in:
@@ -3,7 +3,7 @@
|
||||
"volume_id": "521752a6-acf6-4b2d-bc7a-119f9148cd8c",
|
||||
"create_info": {
|
||||
"snapshot_id": "421752a6-acf6-4b2d-bc7a-119f9148cd8c",
|
||||
"type": "qcow",
|
||||
"type": "qcow2",
|
||||
"new_file": "new_file_name"}
|
||||
}
|
||||
}
|
||||
|
@@ -3,7 +3,7 @@
|
||||
<volume_id>521752a6-acf6-4b2d-bc7a-119f9148cd8c</volume_id>
|
||||
<create_info>
|
||||
<snapshot_id>421752a6-acf6-4b2d-bc7a-119f9148cd8c</snapshot_id>
|
||||
<type>qcow</type>
|
||||
<type>qcow2</type>
|
||||
<new_file>new_file_name</new_file>
|
||||
</create_info>
|
||||
</snapshot>
|
||||
|
@@ -4019,7 +4019,7 @@ class AssistedVolumeSnapshotsJsonTest(ApiSampleTestBaseV2):
|
||||
'description': 'Daily backup',
|
||||
'volume_id': '521752a6-acf6-4b2d-bc7a-119f9148cd8c',
|
||||
'snapshot_id': '421752a6-acf6-4b2d-bc7a-119f9148cd8c',
|
||||
'type': 'qcow',
|
||||
'type': 'qcow2',
|
||||
'new_file': 'new_file_name'
|
||||
}
|
||||
subs.update(self._get_regexes())
|
||||
|
Reference in New Issue
Block a user