FrankChen021 opened a new pull request, #19877:
URL: https://github.com/apache/druid/pull/19877

   Part of #13948.
   
   Builds on [PR #19876](https://github.com/apache/druid/pull/19876).
   
   ### Description
   
   This PR migrates the JUnit 4 tests in the third extension-core batch to 
JUnit 5:
   
   - `druid-catalog`
   - `stats`
   - `druid-basic-security`
   
   The migration replaces JUnit 4 assertions, lifecycle annotations, rules, 
expected-exception tests, categories, and Mockito runners with Jupiter 
equivalents. Converted Derby fixtures now preserve the original per-test 
database lifecycle, and polling tests use synchronization latches instead of 
timing sleeps.
   
   The direct JUnit 4 test dependencies remain temporarily because shared 
test-jar utilities such as `TestDerbyConnector` and `MockServiceClient` still 
execute JUnit 4 assertions. They can be removed after those shared fixtures are 
migrated.
   
   ### Validation
   
   Ran the complete changed-test set for all three modules with Maven: 356 
tests passed with zero failures, errors, or flakes.
   
   ### Related migration PRs
   
   - Previous batch: #19876
   - Issue: #13948
   


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