forked from TrueCloudLab/frostfs-node
[#1559] metabase: Use Set
prefix for parameter setting
Signed-off-by: Evgenii Stratonikov <evgeniy@nspcc.ru>
This commit is contained in:
parent
f58234aa2f
commit
34d319fed2
32 changed files with 150 additions and 181 deletions
|
@ -77,14 +77,14 @@ func TestDB_IterateCoveredByTombstones(t *testing.T) {
|
|||
var prm meta.InhumePrm
|
||||
var err error
|
||||
|
||||
prm.WithAddresses(protected1, protected2, protectedLocked)
|
||||
prm.WithTombstoneAddress(ts)
|
||||
prm.SetAddresses(protected1, protected2, protectedLocked)
|
||||
prm.SetTombstoneAddress(ts)
|
||||
|
||||
_, err = db.Inhume(prm)
|
||||
require.NoError(t, err)
|
||||
|
||||
prm.WithAddresses(garbage)
|
||||
prm.WithGCMark()
|
||||
prm.SetAddresses(garbage)
|
||||
prm.SetGCMark()
|
||||
|
||||
_, err = db.Inhume(prm)
|
||||
require.NoError(t, err)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue