HHH-11323 + HHH-11339 : Fix TombstoneTest failure

This commit is contained in:
Radim Vansa 2017-07-17 14:17:28 +02:00 committed by Gail Badner
parent 4f4f1073e5
commit 91c12a668c
1 changed files with 2 additions and 1 deletions

View File

@ -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;