test(bigquery): add integration tests for job polling - #6232
Draft
haphungw wants to merge 1 commit into
Draft
Conversation
Contributor
There was a problem hiding this comment.
Code Review
This pull request adds integration tests for the BigQuery job poller extension, covering both successful job execution and error handling scenarios. The review feedback suggests replacing .unwrap_err() with .expect_err() in the error handling test to align with the repository's style guide regarding error handling in tests.
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #6232 +/- ##
=======================================
Coverage 96.05% 96.05%
=======================================
Files 269 269
Lines 68390 68390
=======================================
Hits 65689 65689
Misses 2701 2701 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
haphungw
force-pushed
the
bq-job-poller-integration
branch
3 times, most recently
from
July 30, 2026 17:51
8cf3b7c to
45c702d
Compare
haphungw
force-pushed
the
bq-job-poller-integration
branch
from
July 30, 2026 18:24
45c702d to
53a31d5
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Add live integration tests for
JobPolleringoogle-cloud-bigquery-v2, covering successful query polling and error handling paths against live BigQuery APIs.