[#1421] engine/test: Add missing storage engine close
Signed-off-by: Aleksey Savchuk <a.savchuk@yadro.com>
This commit is contained in:
parent
e0f7513625
commit
edb2bc7b55
2 changed files with 2 additions and 0 deletions
|
@ -153,6 +153,7 @@ func TestInhumeExpiredRegularObject(t *testing.T) {
|
|||
)...),
|
||||
}
|
||||
}).prepare(t).engine
|
||||
defer func() { require.NoError(t, engine.Close(context.Background())) }()
|
||||
|
||||
cnr := cidtest.ID()
|
||||
|
||||
|
|
|
@ -306,6 +306,7 @@ func TestLockExpiredRegularObject(t *testing.T) {
|
|||
)...),
|
||||
}
|
||||
}).prepare(t).engine
|
||||
defer func() { require.NoError(t, engine.Close(context.Background())) }()
|
||||
|
||||
cnr := cidtest.ID()
|
||||
|
||||
|
|
Loading…
Reference in a new issue