Skip to content

Commit aa02d9b

Browse files
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'
1 parent a47a4f4 commit aa02d9b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/integration/smoke/test_vm_life_cycle.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1556,7 +1556,7 @@ def setUp(self):
15561556
self.skipTest("Requires at least two hosts for performing migration related tests")
15571557

15581558
for host in self.hosts:
1559-
if host.details['Host.OS'] in ['CentOS']:
1559+
if host.details['Host.OS'] and host.details['Host.OS'].startswith('CentOS'):
15601560
self.skipTest("live migration is not stabily supported on CentOS")
15611561

15621562
def tearDown(self):

0 commit comments

Comments
 (0)