Fix datarace in writecache tests #548
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