-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/25685/
-----------------------------------------------------------
Review request for cloudstack, sangeetha hariharan, sanjeev n, and
SrikanteswaraRao Talluri.
Bugs: CLOUDSTACK-7555
https://issues.apache.org/jira/browse/CLOUDSTACK-7555
Repository: cloudstack-git
Description
-------
TestTemplateUsage.test_01_template_usage fails with the following error message
& Stack Trace
Stacktrace
File "/usr/lib/python2.7/unittest/case.py", line 332, in run
testMethod()
File "/root/cloudstack/test/integration/component/test_usage.py", line 802,
in test_01_template_usage
"Check TEMPLATE.CREATE event in events table"
File "/usr/lib/python2.7/unittest/case.py", line 516, in assertEqual
assertion_func(first, second, msg=msg)
File "/usr/lib/python2.7/unittest/case.py", line 509, in _baseAssertEqual
raise self.failureException(msg)
'Check TEMPLATE.CREATE event in events table\n
This is because the Template is being created as admin and it belongs to the
admin account. The template should belong to the Regular User in order to check
for the TEMPLATE.CREATE Event.
Fixed the script such that the Template now belongs to the regular account.
Diffs
-----
test/integration/component/test_usage.py e99bb81
Diff: https://reviews.apache.org/r/25685/diff/
Testing
-------
No testing is done.
Thanks,
Chandan Purushothama