[#1421] engine/test: Add missing storage engine close

Signed-off-by: Aleksey Savchuk <a.savchuk@yadro.com>
This commit is contained in:
Aleksey Savchuk 2024-12-11 16:20:07 +03:00
parent e0f7513625
commit edb2bc7b55
Signed by: a-savchuk
GPG key ID: 70C0A7FF6F9C4639
2 changed files with 2 additions and 0 deletions

View file

@ -153,6 +153,7 @@ func TestInhumeExpiredRegularObject(t *testing.T) {
)...), )...),
} }
}).prepare(t).engine }).prepare(t).engine
defer func() { require.NoError(t, engine.Close(context.Background())) }()
cnr := cidtest.ID() cnr := cidtest.ID()

View file

@ -306,6 +306,7 @@ func TestLockExpiredRegularObject(t *testing.T) {
)...), )...),
} }
}).prepare(t).engine }).prepare(t).engine
defer func() { require.NoError(t, engine.Close(context.Background())) }()
cnr := cidtest.ID() cnr := cidtest.ID()