Remove unreachable test code
@@ -142,7 +142,7 @@ public class JdbcTests
((PrestoConnection) connection()).setTimeZoneId(timeZoneId);
assertConnectionTimezone(connection(), timeZoneId);
}
- else if (usingTeradataJdbcDriver(connection())) {
+ else {
String prestoJdbcURLTestTimeZone;
String testTimeZone = "TimeZoneID=" + timeZoneId + ";";
if (prestoJdbcURL.contains("TimeZoneID=")) {
@@ -154,9 +154,6 @@ public class JdbcTests
Connection testConnection = DriverManager.getConnection(prestoJdbcURLTestTimeZone, prestoJdbcUser, prestoJdbcPassword);
assertConnectionTimezone(testConnection, timeZoneId);
}
- else {
- LOGGER.warn("shouldSetTimezone() only applies to PrestoJdbcDriver");
- }
}
private void assertConnectionTimezone(Connection connection, String timeZoneId)
