Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

testing(bigquery): improve retry testing #10006

Merged
merged 3 commits into from
Apr 19, 2024

Conversation

shollyman
Copy link
Contributor

This PR augments retry testing to exercise the two main predicates:

  • job insertion RPCs (jobs.insert, jobs.query)
  • everything else

In practice we have a wider predicate for job insertion, as the current API style makes it difficult to disambiguate RPC failure from the job execution errors, but we still want to be more resilient to transient failures when enqueuing jobs/queries.

Fixes: #9751

This PR augments retry testing to exercise the two main predicates:

* job insertion RPCs (jobs.insert, jobs.query)
* everything else

In practice we have a wider predicate for job insertion, as the current
API style makes it difficult to disambiguate RPC failure from the job
execution errors, but we still want to be more resilient to transient
failures when enqueuing jobs/queries.
@shollyman shollyman requested a review from alvarowolfx April 19, 2024 19:46
@shollyman shollyman requested review from a team as code owners April 19, 2024 19:46
@product-auto-label product-auto-label bot added the api: bigquery Issues related to the BigQuery API. label Apr 19, 2024
@shollyman shollyman added the automerge Merge the pull request once unit tests and other checks pass. label Apr 19, 2024
@gcf-merge-on-green gcf-merge-on-green bot merged commit 5515e20 into googleapis:main Apr 19, 2024
8 checks passed
@gcf-merge-on-green gcf-merge-on-green bot removed the automerge Merge the pull request once unit tests and other checks pass. label Apr 19, 2024
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.

bigquery: job retry testing
2 participants