Hilarious12138 opened a new pull request, #11571:
URL: https://github.com/apache/rocketmq/pull/11571

   ### Which Issue(s) This PR Fixes
   
   Fixes #11570
   
   ### Brief Description
   
   Wait for the NameServer to return the route for `BROKER1_NAME` before 
`RecallWithTraceIT` creates its topic on that broker. The existing registration 
wait in the base test constructor runs after this class's `@BeforeClass` setup. 
This change reuses `waitBrokerRegistered` with the same broker name used by the 
create request.
   
   ### How Did You Test This Change?
   
   Reproduced the original 30-second setup timeout. Diagnostic logging on a 
failing run showed that the NameServer could not resolve the target broker's 
route when topic creation started.
   
   The focused Maven integration test passed on Linux ARM64 and macOS ARM64 
with Corretto 8. The recall trace assertions also passed in three additional 
fresh JVM runs on macOS with JaCoCo enabled.
   
   ```sh
   mvn -pl test -am -Pit-test,skip-unit-tests -Dit.test=RecallWithTraceIT 
-Dit.failIfNoSpecifiedTests=false verify
   ```
   


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