Merge pull request #855 from molecula/cleanup_cherrypick

cleanup lmdb tests that were leaving test directories behind
This commit is contained in:
jaten-molecula 2020-09-16 07:51:23 -04:00 committed by GitHub
commit 47926092ee
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -101,7 +101,7 @@ func mustOpenEmptyLMDBWrapper(path string) (w *LMDBWrapper, cleaner func()) {
return w, func() {
w.Close()
panicOn(w.DeleteDBPath(&DBShard{HolderPath: fn}))
panicOn(os.RemoveAll(fn))
}
}