[
https://issues.apache.org/jira/browse/LANG-1514?focusedWorklogId=386804&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-386804
]
ASF GitHub Bot logged work on LANG-1514:
----------------------------------------
Author: ASF GitHub Bot
Created on: 13/Feb/20 18:43
Start Date: 13/Feb/20 18:43
Worklog Time Spent: 10m
Work Description: contextshuffling 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-585909200
@kinow Do you think this change is ready to be merged or is there anything
else need to address?
----------------------------------------------------------------
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: 386804)
Time Spent: 50m (was: 40m)
> 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: 50m
> 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)