Purge tests cover more now. Moved purging queries into mapping file.

Added call to AVMService to get Versions
by creation date.  GetRepositoryVersions methods now return Lists of 
VersionDescriptors, value objects with the attributes of a version.


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/WCM-DEV2/root@3131 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
Britt Park
2006-06-17 18:48:44 +00:00
parent a215fb72b6
commit 9c17cfa1e0
16 changed files with 439 additions and 131 deletions

View File

@@ -39,7 +39,7 @@ public class AVMStressTest extends AVMServiceTestBase
loader.recursiveLoad("source", "main:/");
List<AVMTester> testers = new ArrayList<AVMTester>();
List<Thread> threads = new ArrayList<Thread>();
for (int i = 0; i < 1; i++)
for (int i = 0; i < 8; i++)
{
AVMTester tester
= new AVMTester(400, // create file.
@@ -51,7 +51,7 @@ public class AVMStressTest extends AVMServiceTestBase
20, // modify file.
3600, // read file
10, // snapshot
80000, // # ops
10000, // # ops
fService,
"" + i);
tester.Refresh();
@@ -64,12 +64,12 @@ public class AVMStressTest extends AVMServiceTestBase
thread.start();
}
int exited = 0;
while (exited != 1)
while (exited != 8)
{
try
{
Thread.sleep(2000);
for (int i = 0; i < 1; i++)
for (int i = 0; i < 8; i++)
{
if (threads.get(i) == null)
{