weizhouapache commented on code in PR #14493:
URL: https://github.com/apache/cloudstack/pull/14493#discussion_r4693438291
##########
test/integration/smoke/test_restore_vm.py:
##########
@@ -51,11 +51,8 @@ def setUpClass(cls):
cls.disk_offering = DiskOffering.create(cls.apiclient,
cls.services["disk_offering"], disksize='8')
cls._cleanup.append(cls.disk_offering)
- template_t1 = Template.register(cls.apiclient,
cls.services["test_templates"][
- cls.hypervisor.lower() if cls.hypervisor.lower() != 'simulator'
else 'xenserver'],
- zoneid=cls.zone.id,
hypervisor=cls.hypervisor.lower())
- cls._cleanup.append(template_t1)
- template_t1.download(cls.apiclient)
+ # the first template is the shared public test template, the restore
needs another one
+ template_t1 = get_test_template(cls.apiclient, cls.zone.id,
cls.hypervisor)
Review Comment:
fixed
--
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]