This is an automated email from the ASF dual-hosted git repository.
rohit pushed a commit to branch 4.15
in repository https://gitbox.apache.org/repos/asf/cloudstack.git
The following commit(s) were added to refs/heads/4.15 by this push:
new 03c05bc tests: skip livemigration for centos (#4801)
03c05bc is described below
commit 03c05bc38affe8a0285145fe6ec1e2ae577b9772
Author: dahn <[email protected]>
AuthorDate: Sat Apr 10 09:41:59 2021 +0200
tests: skip livemigration for centos (#4801)
This PR skips live migration on centos as the default installations for
qemu/libvirt don't support it.
Fixes #4757
Co-authored-by: Daan Hoogland <[email protected]>
---
test/integration/smoke/test_vm_life_cycle.py | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/test/integration/smoke/test_vm_life_cycle.py
b/test/integration/smoke/test_vm_life_cycle.py
index d9dea1c..d1aa4cb 100644
--- a/test/integration/smoke/test_vm_life_cycle.py
+++ b/test/integration/smoke/test_vm_life_cycle.py
@@ -1409,6 +1409,11 @@ class TestKVMLiveMigration(cloudstackTestCase):
if len(self.hosts) < 2:
self.skipTest("Requires at least two hosts for performing
migration related tests")
+
+ for host in self.hosts:
+ if host.details['Host.OS'] in ['CentOS']:
+ self.skipTest("live migration is not stabily supported on
CentOS")
+
def tearDown(self):
try:
cleanup_resources(self.apiclient, self.cleanup)