Skip to content

Add back support for retries in storage uploads. - #3378

Merged
dhermes merged 1 commit into
googleapis:masterfrom
dhermes:add-back-storage-retries2
May 10, 2017
Merged

Add back support for retries in storage uploads.#3378
dhermes merged 1 commit into
googleapis:masterfrom
dhermes:add-back-storage-retries2

Conversation

@dhermes

Copy link
Copy Markdown
Contributor

No description provided.

@dhermesdhermes added the api: storage Issues related to the Cloud Storage API. label May 5, 2017
@googlebotgooglebot added the cla: yes This human has signed the Contributor License Agreement. label May 5, 2017
@dhermes

Copy link
Copy Markdown
ContributorAuthor

Was #3375

@dhermes

Copy link
Copy Markdown
ContributorAuthor

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

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.


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

@dhermes
dhermes merged commit ff4f492 into googleapis:masterMay 10, 2017
@dhermes
dhermes deleted the add-back-storage-retries2 branch May 10, 2017 18:12
This was referenced Jun 26, 2017
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

api: storageIssues related to the Cloud Storage API.cla: yesThis human has signed the Contributor License Agreement.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants

@dhermes@lukesneeringer@tseaver@googlebot