HHH-6094 - Test failures in hibernate-infinispan dealing with query caching
This commit is contained in:
parent
658a06e5c3
commit
a6b8d62209
|
@ -121,12 +121,6 @@ public class SynchronizationCallbackCoordinatorImpl implements SynchronizationCa
|
|||
public void afterCompletion(int status) {
|
||||
LOG.trace("Transaction after completion callback [status=" + status + "]");
|
||||
|
||||
if ( transactionContext().isClosed() ) {
|
||||
// usually this happens during failed tests
|
||||
LOG.debug( "Transaction context was closed prior to synchronization callback" );
|
||||
return;
|
||||
}
|
||||
|
||||
try {
|
||||
afterCompletionAction.doAction( transactionCoordinator, status );
|
||||
transactionCoordinator.afterTransaction( null, status );
|
||||
|
|
|
@ -320,7 +320,6 @@ public class BasicTransactionalTestCase extends SingleNodeTestCase {
|
|||
}
|
||||
|
||||
@Test
|
||||
@FailureExpected( jiraKey = "HHH-6094" )
|
||||
public void testQueryCache() throws Exception {
|
||||
Statistics stats = sessionFactory().getStatistics();
|
||||
stats.clear();
|
||||
|
@ -378,7 +377,6 @@ public class BasicTransactionalTestCase extends SingleNodeTestCase {
|
|||
}
|
||||
|
||||
@Test
|
||||
@FailureExpected( jiraKey = "HHH-6094" )
|
||||
public void testQueryCacheHitInSameTransaction() throws Exception {
|
||||
Statistics stats = sessionFactory().getStatistics();
|
||||
stats.clear();
|
||||
|
|
Loading…
Reference in New Issue