Consider retry in BigQuery connect code #1313
Labels
priority: p2
Medium priority. Fix may not be included in next release (e.g. minor documentation, cleanup)
type: testing
When running integration tests we occasionally have failures due to transient errors connecting to BigQuery:
Example:
While transient errors during tests is only a small irritation we can probably assume that intense users of DVT on BigQuery could also run into these errors.
We could consider adding a single retry in
get_bigquery_client()
indata_validation/clients.py
.We could investigate
from google.api_core import retry
as a property to auto retry (a single time)get_bigquery_client()
if it throws withwebbrowser.Error
.I've not fully researched all retry attributes but I believe this would do the trick in a clean way.
The text was updated successfully, but these errors were encountered: