mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-07-24 17:32:48 +00:00
Added a semi intelligible toString to VersionDescriptor. Added an interactive
console program for debugging. Made it so you can't snapshot a version if there's nothing to snapshot. Fixed inactive to active transition in OrphanReaper. Other odds and ends. git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/WCM-DEV2/root@3132 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -17,7 +17,7 @@
|
||||
|
||||
package org.alfresco.repo.avm;
|
||||
|
||||
import org.alfresco.repo.avm.util.BulkLoad;
|
||||
import org.alfresco.repo.avm.util.BulkLoader;
|
||||
|
||||
/**
|
||||
* Test the purge thread.
|
||||
@@ -35,7 +35,7 @@ public class PurgeTest extends AVMServiceTestBase
|
||||
OrphanReaper reaper = new OrphanReaper();
|
||||
reaper.init();
|
||||
setupBasicTree();
|
||||
BulkLoad loader = new BulkLoad(fService);
|
||||
BulkLoader loader = new BulkLoader(fService);
|
||||
long start = System.currentTimeMillis();
|
||||
loader.recursiveLoad("source", "main:/");
|
||||
System.err.println("Load time: " + (System.currentTimeMillis() - start) + "ms");
|
||||
@@ -73,7 +73,7 @@ public class PurgeTest extends AVMServiceTestBase
|
||||
OrphanReaper reaper = new OrphanReaper();
|
||||
reaper.init();
|
||||
setupBasicTree();
|
||||
BulkLoad loader = new BulkLoad(fService);
|
||||
BulkLoader loader = new BulkLoader(fService);
|
||||
long start = System.currentTimeMillis();
|
||||
loader.recursiveLoad("source", "main:/");
|
||||
System.err.println("Load time: " + (System.currentTimeMillis() - start) + "ms");
|
||||
@@ -113,7 +113,7 @@ public class PurgeTest extends AVMServiceTestBase
|
||||
OrphanReaper reaper = new OrphanReaper();
|
||||
reaper.init();
|
||||
setupBasicTree();
|
||||
BulkLoad loader = new BulkLoad(fService);
|
||||
BulkLoader loader = new BulkLoader(fService);
|
||||
long start = System.currentTimeMillis();
|
||||
loader.recursiveLoad("source", "main:/");
|
||||
System.err.println("Load time: " + (System.currentTimeMillis() - start) + "ms");
|
||||
|
Reference in New Issue
Block a user