test(indexing-service): migrate tests to JUnit 5 - #19910
Conversation
|
Follow-up audit and cleanup pushed in commit
|
|
Fixed and pushed as 5cfd2c5. CI failure: testCompile could not access org.hamcrest.DiagnosingMatcher and org.hamcrest.Matcher at SegmentTransactionalInsertActionTest.java:234 and ConcurrentReplaceAndAppendTest.java:1213 after PR #19875 removed Hamcrest from the shared processing test classpath. The two requested files now use JUnit5Assertions, JUnit5Matchers, and direct DruidException field assertions. No dependencies or other modules changed. Validation:
The full reactor testCompile on this standalone checkout still stops at inherited KillUnusedSegmentsTaskTest.java:407 because PR #19875 custom processing matcher sources are not present locally. That unrelated file/module was not modified. |
|
Follow-up pushed as Audited all indexing-service test consumers of Validation:
The branch contains only the intended two follow-up test-file changes on top of the prior direct assertion fixes. |
|
Follow-up pushed as The remaining CI failure was caused by all indexing-service test consumers of Validation on the pushed tree:
|
There was a problem hiding this comment.
CodeQL found more than 20 potential problems in the proposed changes. Check the Files changed tab for more details.
|
Ownership update for PR #19910 (current head
Validation after the scope split: full indexing-service reactor |
FrankChen021
left a comment
There was a problem hiding this comment.
I have reviewed the code for correctness, edge cases, concurrency, and integration risks; no issues found.
Reviewed 232 of 232 changed files.
This is an automated review by Codex GPT-5.6-Luna(max)
Summary
This PR is strictly scoped to
indexing-service/**. Theservices/**migration was removed from this branch and is owned by #19911, because services consumes server test-jar fixtures. This PR does not modify processing, server, SQL, MSQ, services, or extensions.Validation
git diff --check: passed.Tracking
Part of #13948.
Related migration PRs: #19875, #19908, #19909, and #19911.