[ 
https://issues.apache.org/jira/browse/DTACLOUD-562?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13676541#comment-13676541
 ] 

Dies Koper commented on DTACLOUD-562:
-------------------------------------

In the comments of that PR you wrote:
  Indeed there was a bug, but not with the $filter implementation. Actually the 
bug was in one of the mock yml files (inst2) which had 'owner_id' set as 
'anotheruser'; the filtering done in the mock driver 'instances' method meant 
that this instance wasn't returned at all in the list of mock instances (since 
we filter by user_id == "mockuser").

I checked that and believe you are correct and your fix (now in PR #45) is 
correct.
You then added another change in the same commit for an unrelated issue and I 
have a concern about that but I believe this jira is resolved (once committed). 
Thanks!
                
> The $filter attribute in CIMI does not propetly
> -----------------------------------------------
>
>                 Key: DTACLOUD-562
>                 URL: https://issues.apache.org/jira/browse/DTACLOUD-562
>             Project: DeltaCloud
>          Issue Type: Bug
>            Reporter: Michal Fojtik
>            Priority: Minor
>
> I just saw the the unit tests fail on testing the $filter attribute on CIMI:
> FAIL
>   Expected: 1
>     Actual: 2
>   (eval):8:in `must_equal'
>   tests/cimi/collections/machines_test.rb:114:in `block (3 levels) in <top 
> (required)>
> I dunno what cause this issue :-) I will investigate later tomorrow or of 
> somebody wants to pick it up I will not be against ;-)

--
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: http://www.atlassian.com/software/jira

Reply via email to