mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-07-24 17:32:48 +00:00
Test still affected by flushes
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@5832 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -50,6 +50,7 @@ import org.alfresco.repo.dictionary.DictionaryDAO;
|
|||||||
import org.alfresco.repo.dictionary.DictionaryNamespaceComponent;
|
import org.alfresco.repo.dictionary.DictionaryNamespaceComponent;
|
||||||
import org.alfresco.repo.dictionary.M2Model;
|
import org.alfresco.repo.dictionary.M2Model;
|
||||||
import org.alfresco.repo.dictionary.NamespaceDAOImpl;
|
import org.alfresco.repo.dictionary.NamespaceDAOImpl;
|
||||||
|
import org.alfresco.repo.domain.hibernate.SessionSizeResourceManager;
|
||||||
import org.alfresco.repo.node.BaseNodeServiceTest;
|
import org.alfresco.repo.node.BaseNodeServiceTest;
|
||||||
import org.alfresco.repo.search.MLAnalysisMode;
|
import org.alfresco.repo.search.MLAnalysisMode;
|
||||||
import org.alfresco.repo.search.QueryParameterDefImpl;
|
import org.alfresco.repo.search.QueryParameterDefImpl;
|
||||||
@@ -1038,6 +1039,7 @@ public class ADMLuceneTest extends TestCase
|
|||||||
{
|
{
|
||||||
public Object execute() throws Throwable
|
public Object execute() throws Throwable
|
||||||
{
|
{
|
||||||
|
SessionSizeResourceManager.setDisableInTransaction();
|
||||||
for (int i = 0; i < 100; i++)
|
for (int i = 0; i < 100; i++)
|
||||||
{
|
{
|
||||||
HashSet<ChildAssociationRef> refs = new HashSet<ChildAssociationRef>();
|
HashSet<ChildAssociationRef> refs = new HashSet<ChildAssociationRef>();
|
||||||
|
Reference in New Issue
Block a user