HHH-11740 : Skip test for H2

This commit is contained in:
Gail Badner 2017-05-12 14:24:18 -07:00
parent 061a1cae31
commit 6a0a6d7562
1 changed files with 6 additions and 0 deletions

View File

@ -16,7 +16,9 @@ import org.hibernate.Query;
import org.hibernate.Session;
import org.hibernate.Transaction;
import org.hibernate.criterion.Order;
import org.hibernate.dialect.H2Dialect;
import org.hibernate.testing.SkipForDialect;
import org.hibernate.testing.TestForIssue;
import org.hibernate.testing.junit4.BaseCoreFunctionalTestCase;
@ -407,6 +409,10 @@ public class UnionSubclassTest extends BaseCoreFunctionalTestCase {
@Test
@TestForIssue( jiraKey = "HHH-11740" )
@SkipForDialect(
value = H2Dialect.class,
comment = "skip dialects that throw PessimisticLockException"
)
public void testBulkOperationsInTwoConcurrentSessions() throws Exception {
Session s = openSession();
s.getTransaction().begin();