-
Notifications
You must be signed in to change notification settings - Fork 1.6k
Add back support for retries in storage uploads. #3378
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
Conversation
|
Was #3375 |
|
@tseaver @lukesneeringer Can I get a review here? |
| bucket_path=self.bucket.path) | ||
| upload = MultipartUpload(upload_url, headers=headers) | ||
|
|
||
| if num_retries is not None: |
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
| bucket_path=self.bucket.path) | ||
| upload = ResumableUpload(upload_url, chunk_size, headers=headers) | ||
|
|
||
| if num_retries is not None: |
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
|
|
||
| @mock.patch(u'google.resumable_media._upload.get_boundary', | ||
| return_value=b'==0==') | ||
| def test__do_multipart_upload_with_retry(self, mock_get_boundary): |
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
No description provided.