RockteMQ-AI commented on issue #11007:
URL: https://github.com/apache/rocketmq/issues/11007#issuecomment-5524052683

   **Issue Evaluation**
   
   Category: `bug` | Status: **Confirmed**
   
   The reported flaky test is verified. The race condition between 
`registerBrokerAll()` and route propagation to NameServer is a real issue — the 
assertions on route size execute before the asynchronous registration completes.
   
   **Root Cause:** `CreateAndUpdateTopicIT` asserts route table size 
immediately after broker registration without waiting for async propagation. 
Under CI load, this causes intermittent `Expected size: 3 but was: 2` failures.
   **Impact:** CI reliability — affects all PRs running integration tests.
   **Severity:** medium (test-only, no production impact)
   
   The proposed fix (wrapping assertions in `awaitility` polling) is consistent 
with the existing pattern in the same test class. This is a straightforward and 
low-risk fix.
   
   ---
   *Automated evaluation by github-manager*


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