mirror of
https://github.com/apache/cloudstack.git
synced 2025-10-26 08:42:29 +01:00
Fixed an issue failing in CI, where iscsi support is not available for kvm
This commit is contained in:
parent
2279289465
commit
ce622c0a29
@ -39,6 +39,7 @@ class TestPrimaryStorageServices(cloudstackTestCase):
|
|||||||
# Get Zone and pod
|
# Get Zone and pod
|
||||||
self.zone = get_zone(self.apiclient, self.testClient.getZoneForTests())
|
self.zone = get_zone(self.apiclient, self.testClient.getZoneForTests())
|
||||||
self.pod = get_pod(self.apiclient, self.zone.id)
|
self.pod = get_pod(self.apiclient, self.zone.id)
|
||||||
|
self.hypervisor = self.testClient.getHypervisorInfo()
|
||||||
|
|
||||||
return
|
return
|
||||||
|
|
||||||
@ -56,8 +57,8 @@ class TestPrimaryStorageServices(cloudstackTestCase):
|
|||||||
"""Test primary storage pools - XEN, KVM, VMWare
|
"""Test primary storage pools - XEN, KVM, VMWare
|
||||||
"""
|
"""
|
||||||
|
|
||||||
if self.testClient.getHypervisorInfo().lower() == "hyperv":
|
if self.hypervisor.lower() in ["kvm","hyperv"]:
|
||||||
raise self.skipTest("NFS primary storage not supported on Hyper-V")
|
raise self.skipTest("NFS primary storage not supported on kvm or Hyper-V")
|
||||||
|
|
||||||
|
|
||||||
# Validate the following:
|
# Validate the following:
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user