Skip to content

HBASE-30153 Upgrade hbase-common to junit5#8219

Merged
Apache9 merged 1 commit into
apache:masterfrom
Apache9:HBASE-30153
May 18, 2026
Merged

HBASE-30153 Upgrade hbase-common to junit5#8219
Apache9 merged 1 commit into
apache:masterfrom
Apache9:HBASE-30153

Conversation

@Apache9
Copy link
Copy Markdown
Contributor

@Apache9 Apache9 commented May 11, 2026

No description provided.

@Apache9 Apache9 self-assigned this May 11, 2026
@Apache9 Apache9 marked this pull request as draft May 11, 2026 10:47
@Apache9
Copy link
Copy Markdown
Contributor Author

Apache9 commented May 11, 2026

So far the PR is all generated by AI, still need more polishing.

Will go out for several days, will come back to this when I'm back.

@Apache9 Apache9 force-pushed the HBASE-30153 branch 2 times, most recently from ce3b0ff to 79fccde Compare May 15, 2026 07:15
@Apache9 Apache9 marked this pull request as ready for review May 15, 2026 11:33
@Apache9 Apache9 requested a review from liuxiaocs7 May 15, 2026 11:33
Copy link
Copy Markdown
Member

@liuxiaocs7 liuxiaocs7 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Overall LGTM, just a few minor nits, thanks @Apache9

Comment on lines -76 to +71
@Test(timeout = 10000)
@Test
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We remove 10s timeout here, need to add @Timeout(value = 10, unit = TimeUnit.SECONDS)?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is not necessary, we only want to have a timeout on class level, setting by the test Tag.

@TestTemplate
public void testLoadKeyStoreWithWrongFilePath() {
assertThrows(IOException.class, () -> {
String path = x509TestContext.getKeyStoreFile(KeyStoreFileType.PKCS12).getAbsolutePath();
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ditto, and the remaining tests in this class

PositionedByteRange buf = new SimplePositionedMutableByteRange(4);
s.encode(buf, new Object[1]);
assertThrows(NullPointerException.class, () -> {
Struct s = new StructBuilder().add(new RawStringTerminated("|")) // not nullable
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ditto

@Apache9 Apache9 merged commit 5c74212 into apache:master May 18, 2026
12 of 13 checks passed
Apache9 added a commit that referenced this pull request May 18, 2026
Signed-off-by: Xiao Liu <liuxiaocs@apache.org>
(cherry picked from commit 5c74212)
Apache9 added a commit that referenced this pull request May 19, 2026
(cherry picked from commit 5c74212)

Signed-off-by: Xiao Liu <liuxiaocs@apache.org>
Apache9 added a commit that referenced this pull request May 19, 2026
(cherry picked from commit 5c74212)

Signed-off-by: Xiao Liu <liuxiaocs@apache.org>
Apache9 added a commit that referenced this pull request May 19, 2026
(cherry picked from commit 5c74212)

Signed-off-by: Xiao Liu <liuxiaocs@apache.org>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants