dengliming opened a new pull request, #7186:
URL: https://github.com/apache/shenyu/pull/7186

   Make the heartbeat listener tests deterministic by removing fixed-duration 
sleeps.
   
   The private heartbeat method is invoked synchronously, so its static 
verification can run immediately. The shutdown callback already awaits executor 
termination before returning, so the shutdown state can also be asserted 
directly.
   
   Tested with:
   `./mvnw -q -pl shenyu-register-center/shenyu-register-client-beat -am 
-DskipTests=false -Dcheckstyle.skip=false -Dtest=HeartbeatListenerTest 
-DfailIfNoTests=false test`
   
   Fixes #6592


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