forked from TrueCloudLab/frostfs-node
Revert "[#262] meta: Do not return old expired objects"
This reverts commit 3d23b087
Signed-off-by: Pavel Karpy <p.karpy@yadro.com>
This commit is contained in:
parent
e9461686b8
commit
09938a9841
4 changed files with 1 additions and 45 deletions
|
@ -73,13 +73,6 @@ func checkExpiredObjects(t *testing.T, db *meta.DB, f func(exp, nonExp *objectSD
|
|||
require.NoError(t, metaPut(db, nonExpObj, nil))
|
||||
|
||||
f(expObj, nonExpObj)
|
||||
|
||||
oldExpObj := testutil.GenerateObject()
|
||||
setExpiration(oldExpObj, 1)
|
||||
|
||||
require.NoError(t, metaPut(db, oldExpObj, nil))
|
||||
|
||||
f(oldExpObj, nonExpObj)
|
||||
}
|
||||
|
||||
func setExpiration(o *objectSDK.Object, epoch uint64) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue