HHH-10955 - PessimisticWriteLockTimeoutTest#testSkipLocked should run only on PostgreSQL 9.5

This commit is contained in:
Vlad Mihalcea 2016-07-14 14:12:39 +03:00
parent f5e10c29eb
commit 9ac00406d2
1 changed files with 2 additions and 1 deletions

View File

@ -6,6 +6,7 @@ import org.hibernate.Session;
import org.hibernate.boot.SessionFactoryBuilder;
import org.hibernate.dialect.Oracle8iDialect;
import org.hibernate.dialect.PostgreSQL81Dialect;
import org.hibernate.dialect.PostgreSQL95Dialect;
import org.hibernate.dialect.SQLServer2005Dialect;
import org.hibernate.testing.RequiresDialect;
@ -19,7 +20,6 @@ import static org.junit.Assert.assertTrue;
/**
* @author Vlad Mihalcea
*/
@RequiresDialect({ Oracle8iDialect.class, PostgreSQL81Dialect.class} )
public class PessimisticWriteLockTimeoutTest
extends BaseNonConfigCoreFunctionalTestCase {
@ -78,6 +78,7 @@ public class PessimisticWriteLockTimeoutTest
}
@Test
@RequiresDialect({ Oracle8iDialect.class, PostgreSQL95Dialect.class })
public void testSkipLocked()
throws NoSuchFieldException, IllegalAccessException {