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) {
|
public void afterCompletion(int status) {
|
||||||
LOG.trace("Transaction after completion callback [status=" + 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 {
|
try {
|
||||||
afterCompletionAction.doAction( transactionCoordinator, status );
|
afterCompletionAction.doAction( transactionCoordinator, status );
|
||||||
transactionCoordinator.afterTransaction( null, status );
|
transactionCoordinator.afterTransaction( null, status );
|
||||||
|
|
|
@ -320,7 +320,6 @@ public class BasicTransactionalTestCase extends SingleNodeTestCase {
|
||||||
}
|
}
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
@FailureExpected( jiraKey = "HHH-6094" )
|
|
||||||
public void testQueryCache() throws Exception {
|
public void testQueryCache() throws Exception {
|
||||||
Statistics stats = sessionFactory().getStatistics();
|
Statistics stats = sessionFactory().getStatistics();
|
||||||
stats.clear();
|
stats.clear();
|
||||||
|
@ -378,7 +377,6 @@ public class BasicTransactionalTestCase extends SingleNodeTestCase {
|
||||||
}
|
}
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
@FailureExpected( jiraKey = "HHH-6094" )
|
|
||||||
public void testQueryCacheHitInSameTransaction() throws Exception {
|
public void testQueryCacheHitInSameTransaction() throws Exception {
|
||||||
Statistics stats = sessionFactory().getStatistics();
|
Statistics stats = sessionFactory().getStatistics();
|
||||||
stats.clear();
|
stats.clear();
|
||||||
|
|
Loading…
Reference in New Issue