forked from TrueCloudLab/s3-tests
lc: remove date delta check from lc header checks
This was prone to false positives. We still check: 1. the expiration header has valid form 2. the rule-id matches Signed-off-by: Matt Benjamin <mbenjamin@redhat.com>
This commit is contained in:
parent
e0aafba82d
commit
a7d4ec68aa
1 changed files with 0 additions and 1 deletions
|
@ -8937,7 +8937,6 @@ def check_lifecycle_expiration_header(response, start_time, rule_id,
|
|||
|
||||
expiration = datetime.datetime.strptime(m.group(1),
|
||||
'%a, %d %b %Y %H:%M:%S %Z')
|
||||
eq((expiration - start_time).days, delta_days)
|
||||
eq(m.group(2), rule_id)
|
||||
|
||||
return True
|
||||
|
|
Loading…
Reference in a new issue