forked from TrueCloudLab/frostfs-node
[#541] writecache/test: Close writecache on exit
Signed-off-by: Evgenii Stratonikov <e.stratonikov@yadro.com>
This commit is contained in:
parent
ad5f527bd3
commit
ec8b4fdc48
1 changed files with 1 additions and 0 deletions
|
@ -64,6 +64,7 @@ func TestFlush(t *testing.T) {
|
|||
WithMetabase(mb),
|
||||
WithBlobstor(bs),
|
||||
}, opts...)...)
|
||||
t.Cleanup(func() { require.NoError(t, wc.Close()) })
|
||||
require.NoError(t, wc.Open(false))
|
||||
require.NoError(t, wc.Init())
|
||||
|
||||
|
|
Loading…
Reference in a new issue