[#541] writecache/test: Close writecache on exit
All checks were successful
Build / Build Components (1.19) (pull_request) Successful in 3m45s
Tests and linters / Lint (pull_request) Successful in 5m55s
Build / Build Components (1.20) (pull_request) Successful in 6m53s
Tests and linters / Tests (1.20) (pull_request) Successful in 3m59s
Tests and linters / Tests with -race (pull_request) Successful in 6m9s
Tests and linters / Tests (1.19) (pull_request) Successful in 12m7s
Tests and linters / Staticcheck (pull_request) Successful in 4m13s
Vulncheck / Vulncheck (pull_request) Successful in 3m55s
All checks were successful
Build / Build Components (1.19) (pull_request) Successful in 3m45s
Tests and linters / Lint (pull_request) Successful in 5m55s
Build / Build Components (1.20) (pull_request) Successful in 6m53s
Tests and linters / Tests (1.20) (pull_request) Successful in 3m59s
Tests and linters / Tests with -race (pull_request) Successful in 6m9s
Tests and linters / Tests (1.19) (pull_request) Successful in 12m7s
Tests and linters / Staticcheck (pull_request) Successful in 4m13s
Vulncheck / Vulncheck (pull_request) Successful in 3m55s
Signed-off-by: Evgenii Stratonikov <e.stratonikov@yadro.com>
This commit is contained in:
parent
9ec52463dc
commit
2f4483b224
1 changed files with 1 additions and 0 deletions
|
@ -64,6 +64,7 @@ func TestFlush(t *testing.T) {
|
||||||
WithMetabase(mb),
|
WithMetabase(mb),
|
||||||
WithBlobstor(bs),
|
WithBlobstor(bs),
|
||||||
}, opts...)...)
|
}, opts...)...)
|
||||||
|
t.Cleanup(func() { require.NoError(t, wc.Close()) })
|
||||||
require.NoError(t, wc.Open(false))
|
require.NoError(t, wc.Open(false))
|
||||||
require.NoError(t, wc.Init())
|
require.NoError(t, wc.Init())
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue