Skip to content

test(bigquery-jdbc): isolate PCNT tests and add disable_tpc tag - #14388

Open
keshavdandeva wants to merge 3 commits into
mainfrom
fix/disable-pcnt-tests-in-tpc
Open

keshavdandeva wants to merge 3 commits into
mainfrom
fix/disable-pcnt-tests-in-tpc

Conversation

@keshavdandeva

Copy link
Copy Markdown
Contributor

b/561965004

This PR decouples PCNT ITs from core connection and metadata test classes into a dedicated class tagged with @Tag("disable_tpc").

Changes

  • ITPcntTest: Created a dedicated integration test class containing the 5 PCNT tests (2 connection, 3 metadata) and tagged it with @Tag("disable_tpc") at class level
  • ITConnectionTest & ITDatabaseMetadataTest: Removed PCNT table lifecycle (setUpPcntTable / cleanUpPcntTable) and PCNT test methods. Core tests now run independently in TPC.
  • ITPresubmitTests: Added ITPcntTest to preserve full test coverage in standard GCP presubmit CI.

@keshavdandeva
keshavdandeva requested review from a team as code owners September 15, 2026 14:21

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

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.

Code Review

This pull request refactors the integration tests by extracting PCNT-related tests from ITConnectionTest and ITDatabaseMetadataTest into a new dedicated test class, ITPcntTest, which is also added to the ITPresubmitTests suite. The review feedback highlights a critical compilation error in ITPcntTest due to the missing definition of DEFAULT_CATALOG, and suggests cleaning up the now-empty @afterall methods in both ITConnectionTest and ITDatabaseMetadataTest.

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