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
|
@ -25,13 +25,13 @@ func Test_Mode(t *testing.T) {
|
|||
|
||||
require.NoError(t, bdb.Open(context.Background(), mode.DegradedReadOnly))
|
||||
require.Nil(t, bdb.boltDB)
|
||||
require.NoError(t, bdb.Init())
|
||||
require.NoError(t, bdb.Init(context.Background()))
|
||||
require.Nil(t, bdb.boltDB)
|
||||
require.NoError(t, bdb.Close())
|
||||
require.NoError(t, bdb.Close(context.Background()))
|
||||
|
||||
require.NoError(t, bdb.Open(context.Background(), mode.Degraded))
|
||||
require.Nil(t, bdb.boltDB)
|
||||
require.NoError(t, bdb.Init())
|
||||
require.NoError(t, bdb.Init(context.Background()))
|
||||
require.Nil(t, bdb.boltDB)
|
||||
require.NoError(t, bdb.Close())
|
||||
require.NoError(t, bdb.Close(context.Background()))
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue