HHH-6820 Skip test org.hibernate.ejb.test.lock.LockTest.testContendedPessimisticLock for Sybase ASE15.5

This commit is contained in:
Strong Liu 2011-11-25 14:25:05 +08:00
parent 873517a46f
commit 8c868aa513
1 changed files with 2 additions and 1 deletions

View File

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