test: skip live storage migration on CentOS 7 (#7862)

since #7570, The detail 'Host.OS' of centos7 host is changed from 'CentOS' to 'CentOS Linux'
This commit is contained in:
Wei Zhou 2023-08-15 08:39:18 +02:00 committed by GitHub
parent a47a4f4ad4
commit aa02d9b3c1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1556,7 +1556,7 @@ class TestKVMLiveMigration(cloudstackTestCase):
self.skipTest("Requires at least two hosts for performing migration related tests")
for host in self.hosts:
if host.details['Host.OS'] in ['CentOS']:
if host.details['Host.OS'] and host.details['Host.OS'].startswith('CentOS'):
self.skipTest("live migration is not stabily supported on CentOS")
def tearDown(self):