8000 HHH-6820 Skip test org.hibernate.ejb.test.lock.LockTest.testContended… · JavaInCloud/hibernate-orm@8c868aa · GitHub
[go: up one dir, main page]

Skip to content
8000

Commit 8c868aa

Browse files
committed
HHH-6820 Skip test org.hibernate.ejb.test.lock.LockTest.testContendedPessimisticLock for Sybase ASE15.5
1 parent 873517a commit 8c868aa

File tree

1 file changed

+2
-1
lines changed
  • hibernate-entitymanager/src/matrix/java/org/hibernate/ejb/test/lock

1 file changed

+2
-1
lines changed

hibernate-entitymanager/src/matrix/java/org/hibernate/ejb/test/lock/LockTest.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -276,7 +276,8 @@ public void testLockOptimisticForceIncrementDifferentEm() throws Exception {
276276
}
277277

278278
@Test
279-
@SkipForDialect(value = { HSQLDialect.class, SybaseASE15Dialect.class }, jiraKey = "HHH-6820")
279+
// ASE15.5 will generate select...holdlock and fail at this test, but ASE15.7 passes it. Skip it for ASE15.5 only.
280+
@SkipForDialect(value = { HSQLDialect.class, SybaseASE15Dialect.class },strictMatching = true, jiraKey = "HHH-6820")
280281
public void testContendedPessimisticLock() throws Exception {
281282
final EntityManager em = getOrCreateEntityManager();
282283
final EntityManager isolatedEntityManager = createIsolatedEntityManager();

0 commit comments

Comments
 (0)
0