Merge pull request #347 from linuxbox2/wip-fix-lc-expire-timers

fix/restore test_lifecycle_expiration checks
This commit is contained in:
Casey Bodley 2020-05-26 11:06:40 -04:00 committed by GitHub
commit 6d8c0059db
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -8938,9 +8938,9 @@ def test_lifecycle_expiration():
expire3_objects = response['Contents']
eq(len(init_objects), 6)
eq(len(expire1_objects), 6)
eq(len(keep2_objects), 6)
eq(len(expire3_objects), 6)
eq(len(expire1_objects), 4)
eq(len(keep2_objects), 4)
eq(len(expire3_objects), 2)
@attr(resource='bucket')
@attr(method='put')
@ -8977,7 +8977,6 @@ def test_lifecyclev2_expiration():
eq(len(keep2_objects), 4)
eq(len(expire3_objects), 2)
@attr(resource='bucket')
@attr(method='put')
@attr(operation='test lifecycle expiration on versining enabled bucket')
@ -9002,7 +9001,6 @@ def test_lifecycle_expiration_versioning_enabled():
eq(len(versions), 1)
eq(len(delete_markers), 1)
@attr(resource='bucket')
@attr(method='put')
@attr(operation='id too long in lifecycle rule')