mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-10-08 14:51:49 +00:00
MNT-16375 "CMISChangelog auditing enablement impacts CMIS connection if quantity records are excessive" replace use of template.select with template.selectList (to prevent MySQL streaming exceptions), fix up affected client classes, and add extra AuditDAOTests around audit query fromId, toId, fromTime, toTime and maxResults
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@129387 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -176,7 +176,7 @@ public class AuditMethodInterceptorTest extends TestCase
|
||||
params.setApplicationName(APPLICATION_NAME);
|
||||
|
||||
rowCount.setValue(0);
|
||||
auditComponent.auditQuery(callback, params, -1);
|
||||
auditComponent.auditQuery(callback, params, Integer.MAX_VALUE);
|
||||
|
||||
assertEquals("There should be one audit entry.", 1, rowCount.intValue());
|
||||
assertTrue("The requested nodeRef should be in the audit entry.",
|
||||
|
Reference in New Issue
Block a user