Uh oh!
There was an error while loading. Please reload this page.
HBASE-29910 Upgrade hbase-client to use junit5 - #7785
Conversation
liuxiaocs7
commented
Feb 23, 2026
- see: HBASE-29910
- master: HBASE-29910 Upgrade hbase-client to use junit5 #7773
There was a problem hiding this comment.
Pull request overview
This pull request migrates the hbase-client module's test suite from JUnit 4 to JUnit 5 as part of HBASE-29910. The migration systematically updates all test files to use JUnit 5 (Jupiter) APIs and removes dependencies on the JUnit 4 compatibility layer.
Changes:
- Migrated all test classes from JUnit 4 to JUnit 5 annotations and assertions
- Updated pom.xml to use mockito-junit-jupiter and remove junit-vintage-engine
- Converted test lifecycle annotations, assertion methods, and exception testing patterns
Reviewed changes
Copilot reviewed 98 out of 98 changed files in this pull request and generated no comments.
Show a summary per file
| File | Description |
|---|---|
| pom.xml | Removed junit-vintage-engine dependency; changed mockito-core to mockito-junit-jupiter |
| Multiple test files | Migrated imports from org.junit to org.junit.jupiter.api; updated annotations and assertions |
| Parameterized tests | Converted from @RunWith(Parameterized.class) to @HBaseParameterizedTestTemplate |
| OpenTelemetry tests | Changed from OpenTelemetryRule to OpenTelemetryExtension |
| MockitoJUnitRunner tests | Changed @RunWith to @ExtendWith(MockitoExtension.class) |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Uh oh!
There was an error while loading. Please reload this page.
Apache9
commented
Feb 24, 2026
Post my comments on jira to here too
Thanks. |
liuxiaocs7
commented
Feb 25, 2026
|