Skip to content

chore(bigquery-jdbc): move all tests to junit5#13279

Merged
logachev merged 8 commits into
mainfrom
kirl/junit5_more
May 29, 2026
Merged

chore(bigquery-jdbc): move all tests to junit5#13279
logachev merged 8 commits into
mainfrom
kirl/junit5_more

Conversation

@logachev
Copy link
Copy Markdown
Contributor

@logachev logachev commented May 26, 2026

Some integration tests that were moved to this repo recently were not running because they still relied on junit4

I disabled some of the failing tests to investigate separately;
A few small fixes are also include in that PR

@logachev logachev requested review from a team as code owners May 26, 2026 23:52
Copy link
Copy Markdown
Contributor

@gemini-code-assist gemini-code-assist Bot left a comment

Choose a reason for hiding this comment

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

Code Review

This pull request migrates several integration test files from JUnit 4 to JUnit 5 (Jupiter), updating annotations like @BeforeClass to @BeforeAll and updating assertion imports. It also adds ITStatementTest to the ITPresubmitTests suite. The review feedback correctly identifies a compilation error in ITBigQueryJDBCTest due to missing static imports for the newly unqualified JUnit 5 assertions, and points out a redundant consecutive call to connection.close() in the same file.

@logachev logachev requested review from a team as code owners May 28, 2026 20:25
connection.close();
}

@Disabled
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Why are so many tests disabled?

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.

Some of them are failing, various reasons; We'd need to re-enabled them separately

@logachev logachev enabled auto-merge (squash) May 29, 2026 19:04
@logachev logachev merged commit 8183d08 into main May 29, 2026
177 checks passed
@logachev logachev deleted the kirl/junit5_more branch May 29, 2026 19:19
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