[#1285] Skip date time arithmetic integration tests for Ingres

This commit is contained in:
Lukas Eder 2012-07-31 19:43:02 +02:00
parent 414c6338b6
commit ac6cb86cfe

View File

@ -45,6 +45,7 @@ import static org.jooq.SQLDialect.CUBRID;
import static org.jooq.SQLDialect.DB2;
import static org.jooq.SQLDialect.DERBY;
import static org.jooq.SQLDialect.H2;
import static org.jooq.SQLDialect.INGRES;
import static org.jooq.SQLDialect.MYSQL;
import static org.jooq.SQLDialect.SQLITE;
import static org.jooq.SQLDialect.SQLSERVER;
@ -1333,6 +1334,7 @@ extends BaseTest<A, AP, B, S, B2S, BS, L, X, DATE, BOOL, D, T, U, I, IPK, T658,
getDialect() == DERBY ||
getDialect() == CUBRID ||
getDialect() == H2 ||
getDialect() == INGRES || // [#1285] TODO: Fix this for Ingres
getDialect() == MYSQL ||
getDialect() == SQLSERVER ||
getDialect() == SQLITE ||
@ -1389,6 +1391,12 @@ extends BaseTest<A, AP, B, S, B2S, BS, L, X, DATE, BOOL, D, T, U, I, IPK, T658,
@Test
public void testDateTimeArithmetic() throws Exception {
// [#1285] TODO: Fix this for INGRES
if (getDialect() == INGRES) {
log.info("SKIPPING", "Date time arithmetic tests");
return;
}
// [#1009] SQL DATE doesn't have a time zone. SQL TIMESTAMP does
long tsShift = -3600000;