slavkap commented on code in PR #7136:
URL: https://github.com/apache/cloudstack/pull/7136#discussion_r1089770387
##########
test/integration/smoke/test_vm_life_cycle.py:
##########
@@ -895,11 +895,39 @@ def test_12_start_vm_multiple_volumes_allocated(self):
startvm=False
)
+ hosts = Host.list(
+ self.apiclient,
+ zoneid=self.zone.id,
+ type='Routing',
+ hypervisor=self.hypervisor,
+ state='Up')
+
+ if self.hypervisor.lower() in ["simulator"]:
+ hypervisor_version = "default"
+ else:
+ res = self.dbclient.execute("select hypervisor_version from host
where uuid = '%s'" % hosts[0].id)
Review Comment:
There is no need for this query. The hypervisor version is a response
parameter of list hosts
--
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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]