HHH-11323 + HHH-11339 : Fix TombstoneTest failure
This commit is contained in:
parent
4f4f1073e5
commit
91c12a668c
|
@ -15,6 +15,7 @@ import java.util.concurrent.TimeoutException;
|
|||
import java.util.concurrent.atomic.AtomicInteger;
|
||||
|
||||
import javax.persistence.PessimisticLockException;
|
||||
|
||||
import org.hibernate.StaleStateException;
|
||||
|
||||
import org.hibernate.boot.registry.StandardServiceRegistryBuilder;
|
||||
|
@ -133,7 +134,7 @@ public abstract class AbstractNonInvalidationTest extends SingleNodeTest {
|
|||
log.info("Exception thrown: ", e);
|
||||
markRollbackOnly(s);
|
||||
return false;
|
||||
} catch (PessimisticLockException e) {
|
||||
} catch (PessimisticLockException | org.hibernate.PessimisticLockException e) {
|
||||
log.info("Exception thrown: ", e);
|
||||
markRollbackOnly(s);
|
||||
return false;
|
||||
|
|
Loading…
Reference in New Issue