mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-10-22 15:12:38 +00:00
REPO-1012 : DB builds: Fix a batch of tests that (regularly) fail on SQL Server
- adding retrying transactions for the propertyValueDAO.cleanupUnusedValues() method calls as MS SQL is slow and has problems coping with other threads updating the alf_prop_ tables - changed the order of the tests to help reduce other tests failing because of these clean up tests git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@129495 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -60,13 +60,17 @@ import org.junit.runners.Suite;
|
||||
LocaleDAOTest.class,
|
||||
QNameDAOTest.class,
|
||||
PropertyValueDAOTest.class,
|
||||
PropertyValueCleanupTest.class,
|
||||
AuditDAOTest.class,
|
||||
AppliedPatchDAOTest.class,
|
||||
AclCrudDAOTest.class,
|
||||
UsageDAOTest.class,
|
||||
SOLRDAOTest.class,
|
||||
TenantAdminDAOTest.class,
|
||||
TenantAdminDAOTest.class,
|
||||
// REOPO-1012 : run AuditDAOTest and PropertyValueCleanupTest near the end
|
||||
// because their failure can cause other tests to fail on MS SQL
|
||||
// AuditDAOTest fails if it runs after CannedQueryDAOTest so this order is a compromise
|
||||
// CannedQueryDAOTest will fail on MS SQL if either AuditDAOTest or PropertyValueCleanupTest fail
|
||||
PropertyValueCleanupTest.class,
|
||||
AuditDAOTest.class,
|
||||
CannedQueryDAOTest.class
|
||||
})
|
||||
public class DomainTestSuite
|
||||
|
||||
Reference in New Issue
Block a user