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

vishesh 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 f381763917a test: fix simulator CI failure test_cluster_drs (#9354)
f381763917a is described below

commit f381763917a73420a4dbc553ec800bf5c153da8b
Author: Wei Zhou <weiz...@apache.org>
AuthorDate: Mon Jul 8 21:48:50 2024 +0200

    test: fix simulator CI failure test_cluster_drs (#9354)
---
 test/integration/smoke/test_cluster_drs.py | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/test/integration/smoke/test_cluster_drs.py 
b/test/integration/smoke/test_cluster_drs.py
index 8b4801849fd..f1eb48f92f5 100644
--- a/test/integration/smoke/test_cluster_drs.py
+++ b/test/integration/smoke/test_cluster_drs.py
@@ -100,7 +100,9 @@ class TestClusterDRS(cloudstackTestCase):
         )
         cls._cleanup.append(cls.network)
 
-        cls.migrateSvms(cls.cluster)
+        cls.hypervisor = cls.testClient.getHypervisorInfo()
+        if cls.hypervisor.lower() not in ['simulator']:
+            cls.migrateSvms(cls.cluster)
 
     @classmethod
     def migrateSvms(cls, cluster):

Reply via email to