1
0
Fork 0
mirror of https://github.com/moby/moby.git synced 2022-11-09 12:21:53 -05:00

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) defer os.RemoveAll(tmp)
store := mkTestTagStore(tmp, t) store := mkTestTagStore(tmp, t)
defer store.graph.driver.Cleanup()
if img, err := store.LookupImage(testImageName); err != nil { if img, err := store.LookupImage(testImageName); err != nil {
t.Fatal(err) t.Fatal(err)