From f0c44d1bd0145b3f57e4dc5db98b8232fba73edb Mon Sep 17 00:00:00 2001 From: Anton Kaliaev Date: Wed, 6 Jun 2018 11:52:59 +0400 Subject: [PATCH] [autofile] include call to group#Close in tests --- autofile/group_test.go | 1 + 1 file changed, 1 insertion(+) diff --git a/autofile/group_test.go b/autofile/group_test.go index 1a111196..2ffedcc2 100644 --- a/autofile/group_test.go +++ b/autofile/group_test.go @@ -32,6 +32,7 @@ func createTestGroup(t *testing.T, headSizeLimit int64) *Group { } func destroyTestGroup(t *testing.T, g *Group) { + g.Close() err := os.RemoveAll(g.Dir) require.NoError(t, err, "Error removing test Group directory") }