mirror of
https://github.com/fluencelabs/tendermint
synced 2025-05-29 22:21:21 +00:00
[autofile] include call to group#Close in tests
This commit is contained in:
parent
8bbe43aa33
commit
f0c44d1bd0
@ -32,6 +32,7 @@ func createTestGroup(t *testing.T, headSizeLimit int64) *Group {
|
|||||||
}
|
}
|
||||||
|
|
||||||
func destroyTestGroup(t *testing.T, g *Group) {
|
func destroyTestGroup(t *testing.T, g *Group) {
|
||||||
|
g.Close()
|
||||||
err := os.RemoveAll(g.Dir)
|
err := os.RemoveAll(g.Dir)
|
||||||
require.NoError(t, err, "Error removing test Group directory")
|
require.NoError(t, err, "Error removing test Group directory")
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user