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
|
@ -72,7 +72,7 @@ func TestBlobovnicza(t *testing.T) {
|
|||
require.NoError(t, blz.Open(context.Background()))
|
||||
|
||||
// initialize Blobovnicza
|
||||
require.NoError(t, blz.Init())
|
||||
require.NoError(t, blz.Init(context.Background()))
|
||||
|
||||
// try to read non-existent address
|
||||
testGet(t, blz, oidtest.Address(), nil, client.IsErrObjectNotFound)
|
||||
|
@ -102,5 +102,5 @@ func TestBlobovnicza(t *testing.T) {
|
|||
return err == nil
|
||||
}, nil)
|
||||
|
||||
require.NoError(t, blz.Close())
|
||||
require.NoError(t, blz.Close(context.Background()))
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue