From 90847df531ff267a793ce88bc8483745a37edf7e Mon Sep 17 00:00:00 2001 From: sanjeev Date: Wed, 27 May 2015 11:36:06 +0530 Subject: [PATCH] Skip vm migration code from the test since it is not supported on LXC --- test/integration/component/test_cpu_domain_limits.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/test/integration/component/test_cpu_domain_limits.py b/test/integration/component/test_cpu_domain_limits.py index b2f0146ff35..f3dc5642364 100644 --- a/test/integration/component/test_cpu_domain_limits.py +++ b/test/integration/component/test_cpu_domain_limits.py @@ -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)