forked from TrueCloudLab/frostfs-node
[#1318] metabase: Add missing error check in tests
Signed-off-by: Pavel Karpy <carpawell@nspcc.ru>
This commit is contained in:
parent
6f2723b47e
commit
1caeb0b648
1 changed files with 2 additions and 1 deletions
|
@ -142,6 +142,7 @@ func TestDB_IterateDeletedObjects(t *testing.T) {
|
||||||
WithAddresses(object.AddressOf(obj3), object.AddressOf(obj4)).
|
WithAddresses(object.AddressOf(obj3), object.AddressOf(obj4)).
|
||||||
WithGCMark(),
|
WithGCMark(),
|
||||||
)
|
)
|
||||||
|
require.NoError(t, err)
|
||||||
|
|
||||||
var (
|
var (
|
||||||
counterAll int
|
counterAll int
|
||||||
|
@ -158,6 +159,7 @@ func TestDB_IterateDeletedObjects(t *testing.T) {
|
||||||
|
|
||||||
return nil
|
return nil
|
||||||
}))
|
}))
|
||||||
|
require.NoError(t, err)
|
||||||
|
|
||||||
iterGCPRM := new(meta.GarbageIterationPrm)
|
iterGCPRM := new(meta.GarbageIterationPrm)
|
||||||
|
|
||||||
|
@ -167,7 +169,6 @@ func TestDB_IterateDeletedObjects(t *testing.T) {
|
||||||
|
|
||||||
return nil
|
return nil
|
||||||
}))
|
}))
|
||||||
|
|
||||||
require.NoError(t, err)
|
require.NoError(t, err)
|
||||||
|
|
||||||
// objects covered with a tombstone
|
// objects covered with a tombstone
|
||||||
|
|
Loading…
Reference in a new issue