Author: batosai
Date: 2008-09-07 13:51:05 +0000 (Sun, 07 Sep 2008)
New Revision: 22526
Modified:
trunk/plugins/WoT/src/plugins/WoT/IdentityTest.java
Log:
Force a garbage collection before bringing db4o up.
Modified: trunk/plugins/WoT/src/plugins/WoT/IdentityTest.java
===================================================================
--- trunk/plugins/WoT/src/plugins/WoT/IdentityTest.java 2008-09-07 13:47:24 UTC
(rev 22525)
+++ trunk/plugins/WoT/src/plugins/WoT/IdentityTest.java 2008-09-07 13:51:05 UTC
(rev 22526)
@@ -79,7 +79,7 @@
public void testPersistence() throws MalformedURLException,
UnknownIdentityException, DuplicateIdentityException {
db.close();
- // TODO Force a garbage collection/finalization
+ System.gc();
db = Db4o.openFile("scoreTest.db4o");
assertNotNull(Identity.getByURI(db, uri));