1
0
mirror of synced 2025-12-25 02:09:19 -05:00

Exposing SSL-only version of Postgres Source (#6362)

This commit is contained in:
Charles
2021-09-27 16:46:39 -07:00
committed by GitHub
parent d9adbd3c58
commit f30869001a
22 changed files with 605 additions and 69 deletions

View File

@@ -72,7 +72,7 @@ class Db2JdbcSourceAcceptanceTest extends JdbcSourceAcceptanceTest {
public void clean() throws Exception {
// In Db2 before dropping a schema, all objects that were in that schema must be dropped or moved to
// another schema.
for (String tableName : TEST_TABLES) {
for (final String tableName : TEST_TABLES) {
final String dropTableQuery = String
.format("DROP TABLE IF EXISTS %s.%s", SCHEMA_NAME, tableName);
super.database.execute(connection -> connection.createStatement().execute(dropTableQuery));
@@ -116,7 +116,7 @@ class Db2JdbcSourceAcceptanceTest extends JdbcSourceAcceptanceTest {
}
@Override
public AbstractJdbcSource getSource() {
public AbstractJdbcSource getJdbcSource() {
return new Db2Source();
}