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] [Updated] (DIRAPI-279) We are using hashcode over a set in some tests, this is not reliable
Date Fri, 24 Jun 2016 21:58:16 GMT

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

Emmanuel Lecharny updated DIRAPI-279:
-------------------------------------
    Fix Version/s:     (was: 1.0.0-RC1)
                   1.0.0-RC2

> 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