Action Tracking Service work (replication task 79)

New concrete data transfer classes for holding the basic details on executing actions, and basic support (but no unit tests yet) for storing and retrieving these


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@21281 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
Nick Burch
2010-07-19 16:56:34 +00:00
parent a18efbbb6f
commit a2b793c21e
5 changed files with 173 additions and 47 deletions

View File

@@ -245,7 +245,7 @@ public class ActionServiceImplTransactionalTest extends TestCase
// Wait for the post-rollback update to complete
// (The stored one gets updated asynchronously)
txn.rollback();
Thread.sleep(100);
Thread.sleep(150);
txn = transactionService.getUserTransaction();
txn.begin();
@@ -283,7 +283,7 @@ public class ActionServiceImplTransactionalTest extends TestCase
// End the transaction. Should allow the async action
// to be executed
txn.commit();
Thread.sleep(100);
Thread.sleep(150);
assertNotNull(action.getExecutionStartDate());
assertNotNull(action.getExecutionEndDate());
@@ -315,7 +315,7 @@ public class ActionServiceImplTransactionalTest extends TestCase
// End the transaction. Should allow the async action
// to be executed
txn.commit();
Thread.sleep(100);
Thread.sleep(150);
assertNotNull(action.getExecutionStartDate());
assertNotNull(action.getExecutionEndDate());
@@ -351,7 +351,7 @@ public class ActionServiceImplTransactionalTest extends TestCase
// End the transaction. Should allow the async action
// to be executed
txn.commit();
Thread.sleep(100);
Thread.sleep(150);
txn = transactionService.getUserTransaction();
txn.begin();