Emmanuel Lecharny created DIRAPI-279:
----------------------------------------
Summary: 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-M34
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)