Details
-
Bug
-
Status: Resolved
-
Minor
-
Resolution: Fixed
-
4.4
Description
Several functions in UnmodifiableMultiValuedMapTest (org.apache.commons.collections4.multimap.UnmodifiableMultiValuedMapTest) assert map.toString() is equal to a hard-coded string "
{one=[uno, un], two=[dos, deux], three=[tres, trois]}", where the map variable is of type MultiValuedMap.
These assertions are flaky because map.toString() can be equal to any one of the 6 strings where "one=[uno, un]", "two=[dos, deux]" and "three=[tres, trois]" are ordered arbitrarily.
The functions with this issue are:
- testRemoveException()
- testRemoveMappingException()
- testClearException