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:
Eli Qiao
2014-09-04 09:56:51 +08:00
parent b4896d5362
commit 478bce9798
3 changed files with 3 additions and 3 deletions

View File

@@ -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"}
}
}

View File

@@ -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>

View File

@@ -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())