DaanHoogland commented on code in PR #10761:
URL: https://github.com/apache/cloudstack/pull/10761#discussion_r2055816246


##########
test/integration/smoke/test_nonstrict_affinity_group.py:
##########
@@ -54,7 +55,11 @@ def setUpClass(cls):
 
         zone = get_zone(cls.apiclient, cls.testClient.getZoneForTests())
         cls.zone = Zone(zone.__dict__)
-        cls.template = get_template(cls.apiclient, cls.zone.id)
+        cls.hypervisor = cls.testClient.getHypervisorInfo()
+        if cls.hypervisor.lower() not in ["xenserver"]:
+            cls.template = get_template(cls.apiclient, cls.zone.id)
+        else:
+            cls.template = get_test_template(cls.apiclient, cls.zone.id, 
cls.hypervisor)

Review Comment:
   why not like in test_cluster_drs?



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscr...@cloudstack.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to