forked from TrueCloudLab/frostfs-node
[#1437] node: Fix contextcheck linter
Signed-off-by: Dmitrii Stepanov <d.stepanov@yadro.com>
This commit is contained in:
parent
6921a89061
commit
7429553266
209 changed files with 1068 additions and 1036 deletions
|
@ -1,6 +1,7 @@
|
|||
package meta_test
|
||||
|
||||
import (
|
||||
"context"
|
||||
"errors"
|
||||
"testing"
|
||||
|
||||
|
@ -18,7 +19,7 @@ const currEpoch = 1000
|
|||
|
||||
func TestDB_Exists(t *testing.T) {
|
||||
db := newDB(t, meta.WithEpochState(epochState{currEpoch}))
|
||||
defer func() { require.NoError(t, db.Close()) }()
|
||||
defer func() { require.NoError(t, db.Close(context.Background())) }()
|
||||
|
||||
t.Run("no object", func(t *testing.T) {
|
||||
nonExist := testutil.GenerateObject()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue