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
|
@ -14,11 +14,11 @@ func TestBlobovnicza_Get(t *testing.T) {
|
|||
filename := filepath.Join(t.TempDir(), "blob")
|
||||
|
||||
var blz *Blobovnicza
|
||||
defer func() { require.NoError(t, blz.Close()) }()
|
||||
defer func() { require.NoError(t, blz.Close(context.Background())) }()
|
||||
|
||||
fnInit := func(szLimit uint64) {
|
||||
if blz != nil {
|
||||
require.NoError(t, blz.Close())
|
||||
require.NoError(t, blz.Close(context.Background()))
|
||||
}
|
||||
|
||||
blz = New(
|
||||
|
@ -27,7 +27,7 @@ func TestBlobovnicza_Get(t *testing.T) {
|
|||
)
|
||||
|
||||
require.NoError(t, blz.Open(context.Background()))
|
||||
require.NoError(t, blz.Init())
|
||||
require.NoError(t, blz.Init(context.Background()))
|
||||
}
|
||||
|
||||
// initial distribution: [0:32K] (32K:64K]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue