mirror of
https://github.com/ceph/s3-tests.git
synced 2024-11-21 23:29:47 +00:00
Remove unneeded called to _head_bucket
Test does not consume obj_count or bytes_used and this function now returns a dict of optional headers. Signed-off-by: Andrew Gaul <andrew@gaul.org>
This commit is contained in:
parent
5407628c3a
commit
3ed20fd910
1 changed files with 0 additions and 2 deletions
|
@ -4635,8 +4635,6 @@ def _check_upload_multipart_resend(bucket, key, objlen, resend_parts):
|
||||||
(upload, data) = _multipart_upload(bucket, key, objlen, headers={'Content-Type': content_type}, metadata={'foo': 'bar'}, resend_parts=resend_parts)
|
(upload, data) = _multipart_upload(bucket, key, objlen, headers={'Content-Type': content_type}, metadata={'foo': 'bar'}, resend_parts=resend_parts)
|
||||||
upload.complete_upload()
|
upload.complete_upload()
|
||||||
|
|
||||||
(obj_count, bytes_used) = _head_bucket(bucket)
|
|
||||||
|
|
||||||
k=bucket.get_key(key)
|
k=bucket.get_key(key)
|
||||||
eq(k.metadata['foo'], 'bar')
|
eq(k.metadata['foo'], 'bar')
|
||||||
eq(k.content_type, content_type)
|
eq(k.content_type, content_type)
|
||||||
|
|
Loading…
Reference in a new issue