Senrian opened a new pull request, #16154:
URL: https://github.com/apache/dubbo/pull/16154

   ## What is the purpose of the change?
   
   Fix the flaky test `ThreadPoolStatusCheckerTest` where `Map.entrySet()` 
iteration order is undefined under the Java Memory Model, causing test failures 
when the map returns entries in a different order than expected.
   
   ## Fix
   
   Use `TreeMap` instead of raw `Map` to sort entries by port key before 
building the status message. This guarantees deterministic output regardless of 
JVM implementation or hash map iteration order.
   
   Fixes #16152
   Fixes #16153
   


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