mirror of
https://github.com/internetarchive/heritrix3.git
synced 2026-09-26 23:55:50 +00:00
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:
@@ -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());
|
||||
|
||||
Reference in New Issue
Block a user