forked from TrueCloudLab/s3-tests
Remove old rgw bug workaround.
test_bucket_delete_nonowner says rgw works right now.
This commit is contained in:
parent
9da6d2c87b
commit
c4f820fcf0
1 changed files with 0 additions and 6 deletions
|
@ -65,12 +65,6 @@ def nuke_prefixed_buckets():
|
|||
key.delete()
|
||||
bucket.delete()
|
||||
except boto.exception.S3ResponseError as e:
|
||||
# TODO workaround for buggy rgw that fails to send
|
||||
# error_code, remove
|
||||
if (e.status == 403
|
||||
and e.error_code is None
|
||||
and e.body == ''):
|
||||
e.error_code = 'AccessDenied'
|
||||
if e.error_code != 'AccessDenied':
|
||||
print 'GOT UNWANTED ERROR', e.error_code
|
||||
raise
|
||||
|
|
Loading…
Reference in a new issue