Skip to content

test(bigquery): add integration tests for job polling - #6232

Draft
haphungw wants to merge 1 commit into
googleapis:mainfrom
haphungw:bq-job-poller-integration
Draft

test(bigquery): add integration tests for job polling#6232
haphungw wants to merge 1 commit into
googleapis:mainfrom
haphungw:bq-job-poller-integration

Conversation

@haphungw

Copy link
Copy Markdown
Contributor

Add live integration tests for JobPoller in google-cloud-bigquery-v2, covering successful query polling and error handling paths against live BigQuery APIs.

@product-auto-label product-auto-label Bot added the api: bigquery Issues related to the BigQuery API. label Jul 30, 2026

@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 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.

Comment thread tests/bigquery/src/lib.rs Outdated
@codecov

codecov Bot commented Jul 30, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 96.05%. Comparing base (5a362fc) to head (53a31d5).
⚠️ Report is 3 commits behind head on main.

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.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@haphungw
haphungw force-pushed the bq-job-poller-integration branch 3 times, most recently from 8cf3b7c to 45c702d Compare July 30, 2026 17:51
@haphungw
haphungw force-pushed the bq-job-poller-integration branch from 45c702d to 53a31d5 Compare July 30, 2026 18:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

api: bigquery Issues related to the BigQuery API.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant