HHH-11350 Intermittent failure in testEvictAll/testRemoveAll
This commit is contained in:
parent
91c12a668c
commit
e336dc9c9d
|
@ -329,6 +329,7 @@ public abstract class AbstractRegionAccessStrategyTest<R extends BaseRegion, S e
|
|||
NonJtaTransactionCoordinator txOwner = mock(NonJtaTransactionCoordinator.class);
|
||||
when(txOwner.getResourceLocalTransaction()).thenReturn(new JdbcResourceTransactionMock());
|
||||
when(txOwner.getJdbcSessionOwner()).thenReturn(jdbcSessionOwner);
|
||||
when(txOwner.isActive()).thenReturn(true);
|
||||
TransactionCoordinator txCoord = JdbcResourceLocalTransactionCoordinatorBuilderImpl.INSTANCE
|
||||
.buildTransactionCoordinator(txOwner, null);
|
||||
when(session.getTransactionCoordinator()).thenReturn(txCoord);
|
||||
|
|
Loading…
Reference in New Issue