[
https://issues.apache.org/jira/browse/COLLECTIONS-771?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
XinT updated COLLECTIONS-771:
-----------------------------
Description:
AbstractMultiValuedMapTest#testToString is flaky because it assumes that a
MultiValuedMap object's toString method returns the string representation in a
certain order.
More specifically, it assumes map.toString() equals to "\{A=[X, Y, Z], B=[U,
V, W]}" while it could also be "\{B=[U, V, W], A=[X, Y, Z]}".
PR: https://github.com/apache/commons-collections/pull/194
was:
AbstractMultiValuedMapTest#testToString is flaky because it assumes that a
MultiValuedMap object's toString method returns the string representation in a
certain order.
More specifically, it assumes map.toString() equals to "{A=[X, Y, Z], B=[U, V,
W]}" while it could also be "{B=[U, V, W], A=[X, Y, Z]}".
> AbstractMultiValuedMapTest#testToString is flaky
> ------------------------------------------------
>
> Key: COLLECTIONS-771
> URL: https://issues.apache.org/jira/browse/COLLECTIONS-771
> Project: Commons Collections
> Issue Type: Bug
> Components: Collection
> Affects Versions: 4.4
> Reporter: XinT
> Priority: Minor
> Labels: pull-request-available
> Time Spent: 10m
> Remaining Estimate: 0h
>
> AbstractMultiValuedMapTest#testToString is flaky because it assumes that a
> MultiValuedMap object's toString method returns the string representation in
> a certain order.
>
> More specifically, it assumes map.toString() equals to "\{A=[X, Y, Z], B=[U,
> V, W]}" while it could also be "\{B=[U, V, W], A=[X, Y, Z]}".
>
> PR: https://github.com/apache/commons-collections/pull/194
--
This message was sent by Atlassian Jira
(v8.3.4#803005)