HHH-4732 skip TeradataDialect in LongInElementsTest

git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@19049 1b8cb986-b30d-0410-93ca-fae66ebed9b2
This commit is contained in:
Strong Liu 2010-03-22 13:37:34 +00:00
parent 4bad0304fd
commit af0e1bd0e6
1 changed files with 5 additions and 2 deletions

View File

@ -34,6 +34,7 @@ import org.hibernate.Transaction;
import org.hibernate.criterion.Restrictions;
import org.hibernate.dialect.Oracle8iDialect;
import org.hibernate.dialect.SQLServerDialect;
import org.hibernate.dialect.TeradataDialect;
import org.hibernate.junit.functional.FunctionalTestCase;
import org.hibernate.test.hql.StateProvince;
@ -60,7 +61,8 @@ public class LongInElementsTest extends FunctionalTestCase {
// HHH-2166
public void testLongInElementsByHQL() {
if ( (getDialect() instanceof SQLServerDialect)
|| (getDialect() instanceof Oracle8iDialect) ){
|| (getDialect() instanceof Oracle8iDialect)
|| (getDialect() instanceof TeradataDialect)){
skipExpectedFailure( new Exception("this test fails on oracle and ms sql server, for more info, see HHH-1123") );
return;
}
@ -90,7 +92,8 @@ public class LongInElementsTest extends FunctionalTestCase {
// HHH-2166
public void testLongInElementsByCriteria() {
if ( (getDialect() instanceof SQLServerDialect)
|| (getDialect() instanceof Oracle8iDialect) ){
|| (getDialect() instanceof Oracle8iDialect)
|| (getDialect() instanceof TeradataDialect)){
skipExpectedFailure( new Exception("this test fails on oracle and ms sql server, for more info, see HHH-1123") );
return;
}