mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-07-24 17:32:48 +00:00
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:
@@ -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)
|
||||
{
|
||||
|
Reference in New Issue
Block a user