This is an automated email from the ASF dual-hosted git repository.

rohit pushed a commit to branch 4.19
in repository https://gitbox.apache.org/repos/asf/cloudstack.git


The following commit(s) were added to refs/heads/4.19 by this push:
     new 17516fd9890 test: skip check for volume stats history on xenserver 
(#8661)
17516fd9890 is described below

commit 17516fd98906a217183ce482b85d9a8d372b06c9
Author: Wei Zhou <weiz...@apache.org>
AuthorDate: Thu Feb 15 12:02:49 2024 +0100

    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))

Reply via email to