forked from TrueCloudLab/frostfs-node
[#210] policier: Resolve contextcheck linter
Signed-off-by: Dmitrii Stepanov <d.stepanov@yadro.com>
This commit is contained in:
parent
9098d0eec0
commit
23575e1ac0
15 changed files with 58 additions and 54 deletions
|
@ -269,7 +269,7 @@ func TestRefillMetabase(t *testing.T) {
|
|||
var inhumePrm InhumePrm
|
||||
inhumePrm.SetTarget(object.AddressOf(tombObj), tombMembers...)
|
||||
|
||||
_, err = sh.Inhume(inhumePrm)
|
||||
_, err = sh.Inhume(context.Background(), inhumePrm)
|
||||
require.NoError(t, err)
|
||||
|
||||
var headPrm HeadPrm
|
||||
|
@ -322,7 +322,7 @@ func TestRefillMetabase(t *testing.T) {
|
|||
var prm InhumePrm
|
||||
prm.MarkAsGarbage(addr)
|
||||
|
||||
_, err := sh.Inhume(prm)
|
||||
_, err := sh.Inhume(context.Background(), prm)
|
||||
require.ErrorAs(t, err, new(apistatus.ObjectLocked),
|
||||
"object %s should be locked", locked[i])
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue