From cfdc284abee59057d6c6f7bc751d5648d8f8688e Mon Sep 17 00:00:00 2001 From: Alexander Larsson Date: Wed, 20 Nov 2013 14:52:06 +0100 Subject: [PATCH] tags test: cleanup driver If not we leak a devicemapper pool --- tags_unit_test.go | 1 + 1 file changed, 1 insertion(+) diff --git a/tags_unit_test.go b/tags_unit_test.go index bd8622d46d..1341b989fe 100644 --- a/tags_unit_test.go +++ b/tags_unit_test.go @@ -47,6 +47,7 @@ func TestLookupImage(t *testing.T) { } defer os.RemoveAll(tmp) store := mkTestTagStore(tmp, t) + defer store.graph.driver.Cleanup() if img, err := store.LookupImage(testImageName); err != nil { t.Fatal(err)