← Back to team overview

dhis2-devs team mailing list archive

Re: Testing new Importer in 2.25

 

Hi Srikanth

`userGroupAccesses` is a Set<>, so you can't depend on the order of that.
It was like this in 224 also, but maybe you got lucky.

-- 
Morten Olav Hansen
Senior Engineer, DHIS 2
University of Oslo
http://www.dhis2.org

On Tue, Dec 20, 2016 at 1:26 PM, Srikanth Katta <srikantk@xxxxxxxxxxxxxxxx>
wrote:

> Hi,
>
> We are testing metadata sync on 2.25. When metadata is imported in a new
> instance using the new Importer, we observe that the response returned by
> the below api is different (only order is different) in both the instances.
> /api/charts/<chart_id>
>
> This is the screenshot of userGroupAccesses section in response of the
> above api from both the instances
> [image: Inline image 1]
>
>
> This is causing our tests to fail as they are asserting on output of the
> api. Is this expected behavior?
>
>
>
> Thanks
> Srikanth.
>
> _______________________________________________
> Mailing list: https://launchpad.net/~dhis2-devs
> Post to     : dhis2-devs@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~dhis2-devs
> More help   : https://help.launchpad.net/ListHelp
>
>

PNG image


References