mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-07-24 17:32:48 +00:00
Adjusted AVMCrawlTestPP to be more stringent now that we have retryin
transactions. History is noww correctly maintained for cases of deletes followed by renames or creates. git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@4587 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -31,9 +31,7 @@ import org.alfresco.service.cmr.avm.AVMException;
|
||||
import org.alfresco.service.cmr.avm.AVMNodeDescriptor;
|
||||
import org.alfresco.service.cmr.avm.AVMService;
|
||||
import org.alfresco.service.cmr.avm.AVMStoreDescriptor;
|
||||
import org.alfresco.service.cmr.repository.InvalidNodeRefException;
|
||||
import org.hibernate.HibernateException;
|
||||
import org.springframework.dao.ConcurrencyFailureException;
|
||||
import org.alfresco.service.cmr.repository.ContentIOException;
|
||||
|
||||
|
||||
/**
|
||||
@@ -230,22 +228,14 @@ class AVMCrawler implements Runnable
|
||||
{
|
||||
return;
|
||||
}
|
||||
if (e instanceof ContentIOException)
|
||||
{
|
||||
return;
|
||||
}
|
||||
if (e instanceof AlfrescoRuntimeException)
|
||||
{
|
||||
return;
|
||||
}
|
||||
if (e instanceof ConcurrencyFailureException)
|
||||
{
|
||||
return;
|
||||
}
|
||||
if (e instanceof HibernateException)
|
||||
{
|
||||
return;
|
||||
}
|
||||
if (e instanceof InvalidNodeRefException)
|
||||
{
|
||||
return;
|
||||
}
|
||||
throw new AVMException("Failure", e);
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user