mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-07-24 17:32:48 +00:00
Changed copy on write to occur during lookup, rather than after lookup.
Much carnage, but it's way faster. git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/WCM-DEV2/root@3172 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -92,6 +92,7 @@ public class AVMServiceTest extends AVMServiceTestBase
|
||||
// assertEquals("foo", listing.get(1).getName());
|
||||
// /layer/b should contain foo, bar, and baz.
|
||||
listing = fService.getDirectoryListing(-1, "main:/layer/b");
|
||||
System.out.println(recursiveList("main", -1, true));
|
||||
assertEquals(3, listing.size());
|
||||
// assertEquals("bar", listing.get(0).getName());
|
||||
// assertEquals("baz", listing.get(1).getName());
|
||||
@@ -1114,6 +1115,7 @@ public class AVMServiceTest extends AVMServiceTestBase
|
||||
catch (Exception e)
|
||||
{
|
||||
e.printStackTrace(System.err);
|
||||
fail();
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user