From 03c05bc38affe8a0285145fe6ec1e2ae577b9772 Mon Sep 17 00:00:00 2001 From: dahn Date: Sat, 10 Apr 2021 09:41:59 +0200 Subject: [PATCH] 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 --- 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 d9dea1c3006..d1aa4cbad63 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)