tags test: cleanup driver

If not we leak a devicemapper pool
This commit is contained in:
Alexander Larsson 2013-11-20 14:52:06 +01:00
parent 7192be47c5
commit cfdc284abe

View file

@ -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)