Merged 5.1.N (5.1.1) to HEAD (5.2)

122471 dhulley: PostgreSQL and MySQL fixes for ACE-5143: CLONE - CleanAlfPropTables deleting more than it should
    - New test PropertyValueCleanupTest
    - Generates some data for the script to clean up
    - Concurrently generates attribute values while cleanup script is running
    - Checks that the script cleaned up the orphaned data
    - Checks all newly-generated attributes to ensure that they survived the script in tact
    - The second SQL statement modification can be reverted to produce the failure mode observed in ACE-5143


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@123665 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
Alan Davis
2016-03-11 22:26:32 +00:00
parent 0035333246
commit 1f3c23e969
5 changed files with 223 additions and 13 deletions

View File

@@ -27,6 +27,7 @@ import org.alfresco.repo.domain.mimetype.MimetypeDAOTest;
import org.alfresco.repo.domain.node.NodeDAOTest;
import org.alfresco.repo.domain.patch.AppliedPatchDAOTest;
import org.alfresco.repo.domain.permissions.AclCrudDAOTest;
import org.alfresco.repo.domain.propval.PropertyValueCleanupTest;
import org.alfresco.repo.domain.propval.PropertyValueDAOTest;
import org.alfresco.repo.domain.qname.QNameDAOTest;
import org.alfresco.repo.domain.query.CannedQueryDAOTest;
@@ -52,6 +53,7 @@ import org.junit.runners.Suite;
LocaleDAOTest.class,
QNameDAOTest.class,
PropertyValueDAOTest.class,
PropertyValueCleanupTest.class,
AuditDAOTest.class,
AppliedPatchDAOTest.class,
AclCrudDAOTest.class,