Merge pull request #196 from kngenie/fix-test-failures-with-bdb

fix for test failures in a workspace on NFS-mounted filesystem
This commit is contained in:
Noah Levitt
2017-12-12 14:20:55 -08:00
committed by GitHub
@@ -128,6 +128,14 @@ public class ContentDigestHistoryTest extends TmpDirTestCase {
return bdb;
}
@Override
protected void tearDown() throws Exception {
if (bdb != null) {
bdb.close();
}
super.tearDown();
}
public void testBasics() throws InterruptedException, IOException {
historyStore().store.clear();
assertTrue(historyStore().store.isEmpty());