← 输入框|github.com|刷新
Skip to content

MINOR: Simplify assertThrows usage in ConnectionTest - #1440

Draft
siddiqueirshad wants to merge 2 commits into
apache:mainfrom
siddiqueirshad:simplify-connection-test-assert-throws
Draft

siddiqueirshad wants to merge 2 commits into
apache:mainfrom
siddiqueirshad:simplify-connection-test-assert-throws

Conversation

@siddiqueirshad

Copy link
Copy Markdown

Remove redundant try-with-resources and fail() calls inside assertThrows blocks in ConnectionTest, allowing JUnit to handle exception assertions cleanly.

@lidavidm

lidavidm commented Nov 3, 2026

Copy link
Copy Markdown
Member

@siddiqueirshad please fix the PR title to comply with the guidelines (should be MINOR:, not GH:), thanks!

@lidavidm
lidavidm marked this pull request as draft November 3, 2026 23:09
@siddiqueirshad siddiqueirshad changed the title GH: Simplify assertThrows usage in ConnectionTest MINOR: Simplify assertThrows usage in ConnectionTest Nov 3, 2026
Signed-off-by: siddiqui irshad <mohdirshad1306@gmail.com>
@siddiqueirshad
siddiqueirshad force-pushed the simplify-connection-test-assert-throws branch from 3091fd3 to 1f78db1 Compare November 3, 2026 23:32
@github-actions

This comment has been minimized.

@siddiqueirshad

Copy link
Copy Markdown
Author

@lidavidm Updated the PR title and commit message to start with \MINOR:\ as requested. Thank you!

@lidavidm lidavidm added the chore PRs that make misc changes. label Nov 3, 2026
@lidavidm

lidavidm commented Nov 4, 2026

Copy link
Copy Markdown
Member

CI is failing.

@jbonofre

jbonofre commented Nov 4, 2026

Copy link
Copy Markdown
Member

I applied spotless fix and rebase the PR.

@siddiqueirshad

Copy link
Copy Markdown
Author

Thank you so much @jbonofre for the spotless fix and rebase!

@siddiqueirshad

Copy link
Copy Markdown
Author

Thank you so much @jbonofre for applying the spotless fix and rebasing the PR! Really appreciate it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

chore PRs that make misc changes.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants