mirror of
https://github.com/apache/cloudstack.git
synced 2025-10-26 08:42:29 +01:00
Fixes after smoke tests results on VMware
This commit is contained in:
parent
5d24e735f5
commit
187813a209
@ -240,8 +240,8 @@ class TestKubernetesCluster(cloudstackTestCase):
|
||||
|
||||
if validateList(templates)[0] != PASS:
|
||||
details = None
|
||||
if hypervisor in ["vmware"] and "details" in cks_template:
|
||||
details = cks_template["details"]
|
||||
if hypervisor in ["vmware"]:
|
||||
details = [{"keyboard": "us"}]
|
||||
template = Template.register(cls.apiclient, cks_template, zoneid=cls.zone.id, hypervisor=hypervisor.lower(), randomize_name=False, details=details)
|
||||
template.download(cls.apiclient)
|
||||
return template
|
||||
|
||||
@ -66,7 +66,7 @@ class TestVMWareStoragePolicies(cloudstackTestCase):
|
||||
@classmethod
|
||||
def tearDownClass(cls):
|
||||
try:
|
||||
cleanup_resources(cls.apiclient, reverved(cls._cleanup))
|
||||
cleanup_resources(cls.apiclient, reversed(cls._cleanup))
|
||||
except Exception as e:
|
||||
raise Exception("Warning: Exception during cleanup : %s" % e)
|
||||
|
||||
|
||||
@ -84,7 +84,6 @@ class TestCreateTemplateWithChecksum(cloudstackTestCase):
|
||||
self.test_template.displaytext = 'test sha-1'
|
||||
self.test_template.url = "http://dl.openvm.eu/cloudstack/macchinina/x86_64/macchinina-vmware.ova"
|
||||
self.test_template.format = "OVA"
|
||||
self.test_template.ostypeid = self.getOsType("Other Linux (64-bit)")
|
||||
self.md5 = "3c23ac66bac7888dc7c972783646c644"
|
||||
self.sha256 = "97aaa096d419522158c54f83eb61d9242d9f6bca9166fd4030d73683d647c7e7"
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user