cloudstack-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF subversion and git services (JIRA)" <>
Subject [jira] [Commented] (CLOUDSTACK-3467) Fix unit tests for implicit dedication planner
Date Thu, 11 Jul 2013 10:55:50 GMT


ASF subversion and git services commented on CLOUDSTACK-3467:

Commit 293e5458d344fc68b2122a620cf717c0d9066ddf in branch refs/heads/4.2 from [~devdeep]
[;h=293e545 ]

CLOUDSTACK-3467: Fixing the unit tests for implicit dedication planner. When fix for bug 2662
was made the unit tests were not updated correctly. The unit tests should have been changed
return the correct mock object (VMInstanceVO) when vmInstanceDao is queried for the vms
running on host.

> Fix unit tests for implicit dedication planner
> ----------------------------------------------
>                 Key: CLOUDSTACK-3467
>                 URL:
>             Project: CloudStack
>          Issue Type: Bug
>      Security Level: Public(Anyone can view this level - this is the default.) 
>    Affects Versions: 4.2.0
>            Reporter: Devdeep Singh
>            Assignee: Devdeep Singh
>            Priority: Critical
>             Fix For: 4.2.0
> When bug CLOUDSTACK-2662 was fixed for implicit dedication planner, the unit tests were
not updated in a correct way. The fix had made a change to not to ignore system vms, so instead
of using a userVmDao, the planner started using vmInstanceDao to query the running vms on
a host. However, the unit test for the planner weren't updated correctly. They should have
been updated to return the right mock object (of type VMInstanceVO) when the vmInstanceDao
is queried for vm on a host. It needs to be fixed.

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see:

View raw message