directory-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Emmanuel Lecharny (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (DIRAPI-279) We are using hashcode over a set in some tests, this is not reliable
Date Tue, 18 Oct 2016 10:48:58 GMT

     [ https://issues.apache.org/jira/browse/DIRAPI-279?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Emmanuel Lecharny resolved DIRAPI-279.
--------------------------------------
    Resolution: Fixed

Fixed with http://svn.apache.org/viewvc?rev=1765410&view=rev and http://svn.apache.org/viewvc?rev=1765411&view=rev

> We are using hashcode over a set in some tests, this is not reliable
> --------------------------------------------------------------------
>
>                 Key: DIRAPI-279
>                 URL: https://issues.apache.org/jira/browse/DIRAPI-279
>             Project: Directory Client API
>          Issue Type: Bug
>    Affects Versions: 1.0.0-M33
>            Reporter: Emmanuel Lecharny
>             Fix For: 1.0.0-RC2
>
>
> The following tests are just working by chance :
> {{UserClass_NameTest.testHashCodeSymmetric()}} and {{UserClass_NameTest.testHashCodeTransitive()}}.
> We are computing two hashcodes on sets which may contain values in a random order, combining
the elements'hashCode in this set by using a non-commutative/transitive operation.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message