forked from TrueCloudLab/s3-tests
Merge pull request #347 from linuxbox2/wip-fix-lc-expire-timers
fix/restore test_lifecycle_expiration checks
This commit is contained in:
commit
6d8c0059db
1 changed files with 3 additions and 5 deletions
|
@ -8938,9 +8938,9 @@ def test_lifecycle_expiration():
|
||||||
expire3_objects = response['Contents']
|
expire3_objects = response['Contents']
|
||||||
|
|
||||||
eq(len(init_objects), 6)
|
eq(len(init_objects), 6)
|
||||||
eq(len(expire1_objects), 6)
|
eq(len(expire1_objects), 4)
|
||||||
eq(len(keep2_objects), 6)
|
eq(len(keep2_objects), 4)
|
||||||
eq(len(expire3_objects), 6)
|
eq(len(expire3_objects), 2)
|
||||||
|
|
||||||
@attr(resource='bucket')
|
@attr(resource='bucket')
|
||||||
@attr(method='put')
|
@attr(method='put')
|
||||||
|
@ -8977,7 +8977,6 @@ def test_lifecyclev2_expiration():
|
||||||
eq(len(keep2_objects), 4)
|
eq(len(keep2_objects), 4)
|
||||||
eq(len(expire3_objects), 2)
|
eq(len(expire3_objects), 2)
|
||||||
|
|
||||||
|
|
||||||
@attr(resource='bucket')
|
@attr(resource='bucket')
|
||||||
@attr(method='put')
|
@attr(method='put')
|
||||||
@attr(operation='test lifecycle expiration on versining enabled bucket')
|
@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(versions), 1)
|
||||||
eq(len(delete_markers), 1)
|
eq(len(delete_markers), 1)
|
||||||
|
|
||||||
|
|
||||||
@attr(resource='bucket')
|
@attr(resource='bucket')
|
||||||
@attr(method='put')
|
@attr(method='put')
|
||||||
@attr(operation='id too long in lifecycle rule')
|
@attr(operation='id too long in lifecycle rule')
|
||||||
|
|
Loading…
Reference in a new issue