cloudstack-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "SrikanteswaraRao Talluri" <srikanteswararao.tall...@citrix.com>
Subject Re: Review Request 25685: Fixed the test_usage.py script bug - CLOUDSTACK-7555
Date Tue, 16 Sep 2014 11:25:22 GMT

-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/25685/#review53506
-----------------------------------------------------------



test/integration/component/test_usage.py
<https://reviews.apache.org/r/25685/#comment93202>

    Please change this to self.account.name and self.account.domainid


- SrikanteswaraRao Talluri


On Sept. 16, 2014, 6:46 a.m., Chandan Purushothama wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/25685/
> -----------------------------------------------------------
> 
> (Updated Sept. 16, 2014, 6:46 a.m.)
> 
> 
> 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
> 
>


Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message