Skip to content

Storage: test_blob has many failures #9118

@tritone

Description

@tritone

I made a minor change to hmac_key.py and am seeing many seemingly unrelated test failures in tests/unit/test_blob.py . Example failure:

E   AssertionError: expected call not found.
E   Expected: request('GET', 'http://example.com/media/', data=None, headers={'accept-encoding': 'gzip'}, stream=True)
E   Actual: request('GET', 'http://example.com/media/', data=None, headers={'accept-encoding': 'gzip'}, stream=True, timeout=(61, 60))

Full failures are here: https://source.cloud.google.com/results/invocations/96b74148-63f7-4f77-8475-a539bbad1285/targets/cloud-devrel%2Fclient-libraries%2Fgoogle-cloud-python%2Fpresubmit%2Fstorage/log

After conferring with @frankyn I think this is caused by @crwilcox 's change in google-resumable-media-python: googleapis/google-resumable-media-python@ea95f0e . PR for this change is here: googleapis/google-resumable-media-python#88 .

The expected requests will have to be updated in many tests from test_blob in order to allow the test suite to pass again.

Metadata

Metadata

Assignees

Labels

api: storageIssues related to the Cloud Storage API.testing

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions