s3-tests/s3tests_boto3
Casey Bodley 9c4f15a47e nuke_prefixed_buckets waits up to 60 seconds for object locks to expire
objects locked in GOVERNANCE mode can be removed with
BypassGovernanceRetention, but some tests may leave an object locked in
COMPLIANCE mode, which blocks deletion until the retention period
expires

nuke_prefixed_buckets now checks the retention policy of objects that it
fails to delete with AccessDenied, and will wait up to 60 seconds for
locks to expire before retrying the deletes. if the wait exceeds 60
seconds, it instead throws an error without deleting the bucket

instead of doing this in nuke_prefixed_buckets, we could potentially
have each object-lock test case handle this manually, but that would
add a separate delay to each test case

Signed-off-by: Casey Bodley <cbodley@redhat.com>
2021-08-05 10:50:34 -04:00
..
functional nuke_prefixed_buckets waits up to 60 seconds for object locks to expire 2021-08-05 10:50:34 -04:00
__init__.py boto3: Foundation laid for boto3 tests 2019-01-16 16:31:24 -05:00
common.py Port functional tests from python 2 to python 3 2020-01-14 12:20:05 -05:00