Bughue opened a new pull request, #8184:
URL: https://github.com/apache/incubator-seata/pull/8184

   ## What this PR does?
   
   Backport [#8175](https://github.com/apache/incubator-seata/pull/8175) to the 
`2.7.0` release branch.
   
   `ConfigurationChangeListener.onProcessEvent` runs callbacks asynchronously. 
The test asserted immediately after submit, which raced and failed most 
`test-ubuntu` / `test-druid` jobs on `f59414ced` (#8166), blocking a green CI 
for the RC.
   
   ## Changes
   
   - Wait for the async callback with `CountDownLatch` (5s timeout)
   - Add changelog entries in `changes/*/2.7.0.md`
   
   ## Verify
   
   ```bash
   ./mvnw -pl config/seata-config-core -Dtest=ConfigurationChangeListenerTest 
test
   ```
   
   Local stress: `testCachedConfigurationChangeListener` passed 5/5.
   
   ## Related
   
   - Original fix on `2.x`: #8175
   - Unblocks 2.7.0 release CI after #8166
   
   
   Made with [Cursor](https://cursor.com)


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