We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7e0e2ba commit 419d36dCopy full SHA for 419d36d
google/cloud/bigquery/retry.py
@@ -27,6 +27,7 @@
27
exceptions.TooManyRequests,
28
exceptions.InternalServerError,
29
exceptions.BadGateway,
30
+ requests.exceptions.ChunkedEncodingError,
31
requests.exceptions.ConnectionError,
32
auth_exceptions.TransportError,
33
)
tests/unit/test_retry.py
@@ -51,6 +51,10 @@ def test_w_unstructured_requests_connectionerror(self):
51
exc = requests.exceptions.ConnectionError()
52
self.assertTrue(self._call_fut(exc))
53
54
+ def test_w_unstructured_requests_chunked_encoding_error(self):
55
+ exc = requests.exceptions.ChunkedEncodingError()
56
+ self.assertTrue(self._call_fut(exc))
57
+
58
def test_w_auth_transporterror(self):
59
from google.auth.exceptions import TransportError
60
0 commit comments