mirror of
https://github.com/apache/cloudstack.git
synced 2025-10-26 08:42:29 +01:00
CLOUDSTACK-3689: Test case test_accounts.TesttemplateHierarchy.test_01_template_hierarchy failed during ListTemplate call.
Signed-off-by: Prasanna Santhanam <tsp@apache.org> (cherry picked from commit 6b2c9bf3ae1653693381431ed2554e7b7e4dfae4)
This commit is contained in:
parent
63cf7aa8ce
commit
3e6e66fee1
@ -876,10 +876,17 @@ class TestTemplateHierarchy(cloudstackTestCase):
|
||||
account=cls.account_1.name,
|
||||
domainid=cls.domain_1.id
|
||||
)
|
||||
|
||||
# Wait for template to download
|
||||
cls.template.download(cls.api_client)
|
||||
|
||||
# Wait for template status to be changed across
|
||||
time.sleep(60)
|
||||
|
||||
cls._cleanup = [
|
||||
cls.account_2,
|
||||
cls.domain_2,
|
||||
cls.template,
|
||||
cls.template,
|
||||
cls.account_1,
|
||||
cls.domain_1,
|
||||
]
|
||||
@ -945,7 +952,8 @@ class TestTemplateHierarchy(cloudstackTestCase):
|
||||
# Verify private service offering is not visible to other domain
|
||||
templates = list_templates(
|
||||
self.apiclient,
|
||||
templatefilter='self',
|
||||
id=self.template.id,
|
||||
templatefilter='all',
|
||||
account=self.account_2.name,
|
||||
domainid=self.domain_2.id
|
||||
)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user