Skip to content

Commit

Permalink
tags test: cleanup driver
Browse files Browse the repository at this point in the history
If not we leak a devicemapper pool
  • Loading branch information
alexlarsson committed Nov 20, 2013
1 parent 7192be4 commit cfdc284
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tags_unit_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit cfdc284

Please sign in to comment.