HHH-10955 - PessimisticWriteLockTimeoutTest#testSkipLocked should run only on PostgreSQL 9.5
This commit is contained in:
parent
f5e10c29eb
commit
9ac00406d2
|
@ -6,6 +6,7 @@ import org.hibernate.Session;
|
||||||
import org.hibernate.boot.SessionFactoryBuilder;
|
import org.hibernate.boot.SessionFactoryBuilder;
|
||||||
import org.hibernate.dialect.Oracle8iDialect;
|
import org.hibernate.dialect.Oracle8iDialect;
|
||||||
import org.hibernate.dialect.PostgreSQL81Dialect;
|
import org.hibernate.dialect.PostgreSQL81Dialect;
|
||||||
|
import org.hibernate.dialect.PostgreSQL95Dialect;
|
||||||
import org.hibernate.dialect.SQLServer2005Dialect;
|
import org.hibernate.dialect.SQLServer2005Dialect;
|
||||||
|
|
||||||
import org.hibernate.testing.RequiresDialect;
|
import org.hibernate.testing.RequiresDialect;
|
||||||
|
@ -19,7 +20,6 @@ import static org.junit.Assert.assertTrue;
|
||||||
/**
|
/**
|
||||||
* @author Vlad Mihalcea
|
* @author Vlad Mihalcea
|
||||||
*/
|
*/
|
||||||
@RequiresDialect({ Oracle8iDialect.class, PostgreSQL81Dialect.class} )
|
|
||||||
public class PessimisticWriteLockTimeoutTest
|
public class PessimisticWriteLockTimeoutTest
|
||||||
extends BaseNonConfigCoreFunctionalTestCase {
|
extends BaseNonConfigCoreFunctionalTestCase {
|
||||||
|
|
||||||
|
@ -78,6 +78,7 @@ public class PessimisticWriteLockTimeoutTest
|
||||||
}
|
}
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
|
@RequiresDialect({ Oracle8iDialect.class, PostgreSQL95Dialect.class })
|
||||||
public void testSkipLocked()
|
public void testSkipLocked()
|
||||||
throws NoSuchFieldException, IllegalAccessException {
|
throws NoSuchFieldException, IllegalAccessException {
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue