s3-tests/s3tests_boto3/functional
Pei 713012c178 Fix: Bucket resource leak when cleanup
In the function of nuke_prefixed_buckets, if some err is thrown when deleting buckets, the left buckets remain uncleaned.
It is kind of resoruce leak on some charged platform. We have to clear them manually.

I know the original code is meant to give the user some hint by rasing error. But the resource leak of left buckets is a little annoying.

This PR would skip the problem point and continue the teardown process. The last client error would be saved and re-raised after the loop completes.

Signed-off-by: Pei <huangp0600@126.com>
Signed-off-by: Pei <phuang1@dev-new-3-3854897.slc07.dev.ebayc3.com>
2020-05-15 01:21:06 -07:00
..
__init__.py Fix: Bucket resource leak when cleanup 2020-05-15 01:21:06 -07:00
policy.py boto3: Foundation laid for boto3 tests 2019-01-16 16:31:24 -05:00
rgw_interactive.py boto3: Foundation laid for boto3 tests 2019-01-16 16:31:24 -05:00
test_headers.py Port functional tests from python 2 to python 3 2020-01-14 12:20:05 -05:00
test_s3.py fix ignore public acls with py3 compatible code 2020-01-22 17:06:09 +01:00
test_utils.py Port functional tests from python 2 to python 3 2020-01-14 12:20:05 -05:00
utils.py Port functional tests from python 2 to python 3 2020-01-14 12:20:05 -05:00