From 17516fd98906a217183ce482b85d9a8d372b06c9 Mon Sep 17 00:00:00 2001 From: Wei Zhou Date: Thu, 15 Feb 2024 12:02:49 +0100 Subject: [PATCH] test: skip check for volume stats history on xenserver (#8661) --- test/integration/smoke/test_metrics_api.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/integration/smoke/test_metrics_api.py b/test/integration/smoke/test_metrics_api.py index 1042ad997fc..ab2644fc1aa 100644 --- a/test/integration/smoke/test_metrics_api.py +++ b/test/integration/smoke/test_metrics_api.py @@ -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))