Partha-SUST16 commented on PR #336:
URL: 
https://github.com/apache/commons-collections/pull/336#issuecomment-1254917721

   Thanks @aherbert for pointing in the right direction. 
   To fix the flaky test I have now introduced `getIterationBehaviour()` method 
and in our test file that contains the flaky test I have overridden this method 
and returns `UNORDERED` flag.
   I did not make `getIterationBehaviour()` abstract as this will result in 
implementing this method in all subclass of `AbstractCollectionTest`.  So I 
made this a normal method with returning `ORDERED` as default implementation.
   This fix passes all the normal tests along with the flaky test that was 
identified.
   Please let me know your thinking on this.


-- 
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.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to