Skip vm migration code from the test since it is not supported on LXC

This commit is contained in:
sanjeev 2015-05-27 11:36:06 +05:30
parent f2178af317
commit 90847df531
1 changed files with 3 additions and 1 deletions

View File

@ -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)