This is an automated email from the ASF dual-hosted git repository.
weizhou pushed a commit to branch 4.18
in repository https://gitbox.apache.org/repos/asf/cloudstack.git
The following commit(s) were added to refs/heads/4.18 by this push:
new aa02d9b3c15 test: skip live storage migration on CentOS 7 (#7862)
aa02d9b3c15 is described below
commit aa02d9b3c15e93a99371d8ca3be0d72f2162384c
Author: Wei Zhou <[email protected]>
AuthorDate: Tue Aug 15 08:39:18 2023 +0200
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'
---
test/integration/smoke/test_vm_life_cycle.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/test/integration/smoke/test_vm_life_cycle.py
b/test/integration/smoke/test_vm_life_cycle.py
index 5c8f5609998..a9a554e19ad 100644
--- a/test/integration/smoke/test_vm_life_cycle.py
+++ b/test/integration/smoke/test_vm_life_cycle.py
@@ -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):