Fix failing simulator vgpu test (#11374)

This commit is contained in:
Vishesh 2025-08-01 17:45:17 +05:30 committed by GitHub
parent b2ce1fb9c3
commit d4229d3105
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -58,7 +58,8 @@ class TestDeployvGPUenabledVM(cloudstackTestCase):
cls.unsupportedHypervisor = True
cls.skipTest("Skipping test because suitable hypervisor/host not present")
hosts = list_hosts(
cls.apiclient
cls.apiclient,
type='routing'
)
if hosts is None:
cls.unsupportedHypervisor = True