mirror of https://github.com/apache/cloudstack.git
Skip vm migration code from the test since it is not supported on LXC
This commit is contained in:
parent
f2178af317
commit
90847df531
|
|
@ -483,7 +483,9 @@ class TestDomainCPULimitsUpdateResources(cloudstackTestCase):
|
|||
|
||||
self.assertEqual(resource_count_after_delete, expected_resource_count,
|
||||
"Resource count should match with the expected count")
|
||||
|
||||
#vm migration is not supported in LXC. So don't need to execute below vm migration code
|
||||
if self.hypervisor.lower() in ['lxc']:
|
||||
continue
|
||||
host = findSuitableHostForMigration(self.apiclient, vm_2.id)
|
||||
if host is None:
|
||||
self.skipTest(ERROR_NO_HOST_FOR_MIGRATION)
|
||||
|
|
|
|||
Loading…
Reference in New Issue