test: skip check for volume stats history on xenserver (#8661)

This commit is contained in:
Wei Zhou 2024-02-15 12:02:49 +01:00 committed by GitHub
parent bda49ab08f
commit 17516fd989
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -517,7 +517,7 @@ class TestMetrics(cloudstackTestCase):
self.cleanup.append(self.small_virtual_machine)
currentHost = Host.list(self.apiclient, id=self.small_virtual_machine.hostid)[0]
if currentHost.hypervisor.lower() == "xenserver" and currentHost.hypervisorversion == "7.1.0":
if currentHost.hypervisor.lower() == "xenserver":
# Skip tests as volume metrics doesn't see to work
self.skipTest("Skipping test because volume metrics doesn't work on hypervisor\
%s, %s" % (currentHost.hypervisor, currentHost.hypervisorversion))