Merged HEAD-BUG-FIX (5.0/Cloud) to HEAD (5.0/Cloud)

77125: Merged PLATFORM1 (5.0/Cloud) to HEAD-BUG-FIX (5.0/Cloud)
      73446: ACE-1685: added transaction usage to failing test (SOLRWebScriptTest.testAclReadersGet()) and added to TestSuite (test wasn't being run in CI)


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@77978 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
Mark Rogers
2014-07-23 15:36:03 +00:00
parent ac506b2b31
commit 8fbde8d254
2 changed files with 17 additions and 1 deletions

View File

@@ -201,6 +201,20 @@ public class SOLRWebScriptTest extends BaseWebScriptTest
}
public void testAclReadersGet() throws Exception
{
txnHelper.doInTransaction(
new RetryingTransactionCallback<Void>()
{
public Void execute() throws Throwable
{
aclReadersGetImpl();
return null;
}
}
);
}
public void aclReadersGetImpl() throws Exception
{
List<AclChangeSet> aclChangeSets = solrTrackingComponent.getAclChangeSets(null, null, null, null, 1024);
List<Long> aclChangeSetIds = new ArrayList<Long>(50);