[
https://issues.apache.org/jira/browse/LANG-1514?focusedWorklogId=374311&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-374311
]
ASF GitHub Bot logged work on LANG-1514:
----------------------------------------
Author: ASF GitHub Bot
Created on: 19/Jan/20 16:06
Start Date: 19/Jan/20 16:06
Worklog Time Spent: 10m
Work Description: coveralls commented on issue #485: [LANG-1514] make
test more stable by wrapping assertions in hashset
URL: https://github.com/apache/commons-lang/pull/485#issuecomment-576019601
[](https://coveralls.io/builds/28197161)
Coverage increased (+0.006%) to 95.088% when pulling
**4b11c764e5bfa1fd2e3b85247c0384c66b515489 on
contextshuffling:FieldUtilsTest#testGetFieldsWithAnnotation** into
**a606a0328ba4b3061c5bc810a31418fa4251ea16 on apache:master**.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
Issue Time Tracking
-------------------
Worklog Id: (was: 374311)
Remaining Estimate: 0h
Time Spent: 10m
> Test may fail due to a different iteration order
> ------------------------------------------------
>
> Key: LANG-1514
> URL: https://issues.apache.org/jira/browse/LANG-1514
> Project: Commons Lang
> Issue Type: Bug
> Components: lang.reflect.*
> Reporter: contextshuffling
> Priority: Minor
> Time Spent: 10m
> Remaining Estimate: 0h
>
> Test `testGetAllFieldsList` in `FieldUtilsTest` checks if method
> `getAllFields` returns correct fields of a certain class. `getAllFields`
> depends on `java.lang.class.getDeclaredFields` to use reflection to get the
> fields. However, `java.lang.class.getDeclaredFields` does not guarantee any
> specific order of fields returned. Therefore, test will fail if the order
> returned by the API is different.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)