Mukta13 commented on PR #6113:
URL: 
https://github.com/apache/incubator-kie-drools/pull/6113#issuecomment-2420720681

   Here are the research papers based on Non-dex that would help you understand 
more on what the nondex pulgin does and how it affects the test execution:
   
   https://dl.acm.org/doi/10.1145/2950290.2983932
   
   https://ieeexplore.ieee.org/stamp/stamp.jsp?tp=&arnumber=7515461
   
   To summarise: 
   
   The NonDex plugin is a tool designed to detect and debug incorrect 
assumptions related to under-determined Java APIs. These APIs( for example 
HashSet, HashMap, or Collections.sort) do not guarantee a specific order of 
execution or behavior, and developers often unkowingly rely on their default 
behavior in a deterministic way. This can lead to flaky tests—tests that pass 
or fail intermittently—depending on whether the assumed behavior holds during 
execution for a particular environment. These kind of tests may pass for a 
specific JVM version, but then it may end up failing for another version on 
another host unknowingly. Even though you haven't encountered this failure in 
your CI pipeline so far, it doesn't guarantee that the issue won't arise in the 
future. The reason is that non-deterministic behavior is often subtle and 
environment-specific. For instance, a change in updated Java version may cause 
this test to fail during the builds in the future. The above research papers m
 ight help you in understanding this context better. Thanks!
   
   


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


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to