mirror of
https://github.com/hibernate/hibernate-orm
synced 2025-02-12 22:24:47 +00:00
HHH-6094 - Test failures in hibernate-infinispan dealing with query caching
This commit is contained in:
parent
658a06e5c3
commit
a6b8d62209
@ -121,12 +121,6 @@ private void setRollbackOnly() {
|
||||
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 void testQueryCacheInvalidation() throws Exception {
|
||||
}
|
||||
|
||||
@Test
|
||||
@FailureExpected( jiraKey = "HHH-6094" )
|
||||
public void testQueryCache() throws Exception {
|
||||
Statistics stats = sessionFactory().getStatistics();
|
||||
stats.clear();
|
||||
@ -378,7 +377,6 @@ public void testQueryCache() throws Exception {
|
||||
}
|
||||
|
||||
@Test
|
||||
@FailureExpected( jiraKey = "HHH-6094" )
|
||||
public void testQueryCacheHitInSameTransaction() throws Exception {
|
||||
Statistics stats = sessionFactory().getStatistics();
|
||||
stats.clear();
|
||||
|
Loading…
x
Reference in New Issue
Block a user