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 <dahn@onecht.net>
This commit is contained in:
dahn 2021-04-10 09:41:59 +02:00 committed by GitHub
parent ca8920dd36
commit 03c05bc38a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1409,6 +1409,11 @@ class TestKVMLiveMigration(cloudstackTestCase):
if len(self.hosts) < 2: if len(self.hosts) < 2:
self.skipTest("Requires at least two hosts for performing migration related tests") 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): def tearDown(self):
try: try:
cleanup_resources(self.apiclient, self.cleanup) cleanup_resources(self.apiclient, self.cleanup)