- 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
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