ALF-10334 Merge r30652 from 3.4-BUG-FIX to Head

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@30653 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
Nick Burch
2011-09-20 15:14:52 +00:00
parent 10abd069bc
commit bd95deb992

View File

@@ -133,7 +133,7 @@ public class ReplicationServiceIntegrationTest extends TestCase
{
if (AlfrescoTransactionSupport.getTransactionReadState() != TxnReadState.TXN_NONE)
{
fail("Dangling transaction detected.");
fail("Dangling transaction detected, left by a previous test.");
}
replicationActionExecutor = (ReplicationActionExecutor) ctx.getBean("replicationActionExecutor");
@@ -239,6 +239,11 @@ public class ReplicationServiceIntegrationTest extends TestCase
{
// Ignore
}
if (AlfrescoTransactionSupport.getTransactionReadState() != TxnReadState.TXN_NONE)
{
fail("Dangling transaction detected, current test failed to tidy up.");
}
}