Skip to content
This repository was archived by the owner on Mar 23, 2026. It is now read-only.

chore: NPE in testConnectionClose#2072

Merged
stephaniewang526 merged 2 commits intogoogleapis:mainfrom
prash-mi:npe-in-testconnectionclose
May 26, 2022
Merged

chore: NPE in testConnectionClose#2072
stephaniewang526 merged 2 commits intogoogleapis:mainfrom
prash-mi:npe-in-testconnectionclose

Conversation

@prash-mi
Copy link
Copy Markdown
Contributor

Adding a pre-submit testcase and an assertion in testConnectionClose to check if connection becomes null. It must not as the line bigquery.createConnection() doesn't error out and this must always return an instance of ConnectionImpl

Fixes #2070 ☕️

@prash-mi prash-mi requested review from a team and yirutang May 26, 2022 06:18
@product-auto-label product-auto-label Bot added size: s Pull request size is small. api: bigquery Issues related to the googleapis/java-bigquery API. labels May 26, 2022
@stephaniewang526 stephaniewang526 added the owlbot:run Add this label to trigger the Owlbot post processor. label May 26, 2022
@gcf-owl-bot gcf-owl-bot Bot removed the owlbot:run Add this label to trigger the Owlbot post processor. label May 26, 2022
@stephaniewang526 stephaniewang526 merged commit 51694d8 into googleapis:main May 26, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

api: bigquery Issues related to the googleapis/java-bigquery API. size: s Pull request size is small.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

testConnectionClosed still flaky

2 participants