s3-tests/s3tests_boto3/functional
Pei f344fd6ca7 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>
(cherry picked from commit 713012c178)
2021-08-12 13:38:40 -04:00
..
__init__.py Fix: Bucket resource leak when cleanup 2021-08-12 13:38:40 -04: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 Add support for disabling SSL certificate verification 2021-08-09 14:04:47 -04:00
test_s3select.py modifying tests to be align with change of s3select compare sign( == -> = ) 2021-05-21 20:10:14 -04:00
test_sts.py sts: test role policy around nonexistent objects 2021-06-28 11:12:08 -04: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