mirror of https://github.com/apache/cloudstack.git
CLOUDSTACK-3689: Test case test_accounts.TesttemplateHierarchy.test_01_template_hierarchy failed during ListTemplate call.
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
This commit is contained in:
parent
c44fa2cc20
commit
6b2c9bf3ae
|
|
@ -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…
Reference in New Issue