mirror of
https://github.com/apache/cloudstack.git
synced 2025-10-26 08:42:29 +01:00
CLOUDSTACK-5797: Fixed integration test for test_03_restore_vm_with_new_template
This commit is contained in:
parent
b1eb8665b7
commit
75ebc03693
@ -100,7 +100,7 @@ class Services:
|
|||||||
"name": "Public template - Xen",
|
"name": "Public template - Xen",
|
||||||
"ostype": "CentOS 5.3 (64-bit)",
|
"ostype": "CentOS 5.3 (64-bit)",
|
||||||
"url": "http://download.cloud.com/releases/2.0.0/UbuntuServer-10-04-64bit.vhd.bz2",
|
"url": "http://download.cloud.com/releases/2.0.0/UbuntuServer-10-04-64bit.vhd.bz2",
|
||||||
"hypervisor": "XenServer",
|
"hypervisor": "xenserver",
|
||||||
"format": "VHD",
|
"format": "VHD",
|
||||||
"isfeatured": True,
|
"isfeatured": True,
|
||||||
"ispublic": True,
|
"ispublic": True,
|
||||||
@ -111,7 +111,7 @@ class Services:
|
|||||||
"name": "Public template -KVM",
|
"name": "Public template -KVM",
|
||||||
"ostype": "CentOS 5.3 (64-bit)",
|
"ostype": "CentOS 5.3 (64-bit)",
|
||||||
"url": "http://download.cloud.com/releases/2.0.0/UbuntuServer-10-04-64bit.qcow2.bz2",
|
"url": "http://download.cloud.com/releases/2.0.0/UbuntuServer-10-04-64bit.qcow2.bz2",
|
||||||
"hypervisor": "KVM",
|
"hypervisor": "kvm",
|
||||||
"format": "qcow2",
|
"format": "qcow2",
|
||||||
"isfeatured": True,
|
"isfeatured": True,
|
||||||
"ispublic": True,
|
"ispublic": True,
|
||||||
@ -409,7 +409,7 @@ class TestBaseImageUpdate(cloudstackTestCase):
|
|||||||
hypervisor = host_list_validation_result[1].hypervisor
|
hypervisor = host_list_validation_result[1].hypervisor
|
||||||
|
|
||||||
for k, v in self.services["templates"].items():
|
for k, v in self.services["templates"].items():
|
||||||
if k == hypervisor:
|
if k.lower() == hypervisor.lower():
|
||||||
# Register new template
|
# Register new template
|
||||||
template = Template.register(
|
template = Template.register(
|
||||||
self.apiclient,
|
self.apiclient,
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user