Skip to content

Commit 35b2afe

Browse files
Merge pull request #174 from data-integrations/fix/ut-oracle
fix oracle plugin ut
2 parents 37adde2 + 24f9fc3 commit 35b2afe

1 file changed

Lines changed: 4 additions & 3 deletions

File tree

oracle-plugin/src/test/java/io/cdap/plugin/oracle/OracleFailedConnectionTest.java

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,9 @@ public void test() throws ClassNotFoundException, IOException {
3131
new OracleConnectorConfig("localhost", 1521, "username", "password", "jdbc", ""));
3232

3333
super.test(JDBC_DRIVER_CLASS_NAME, connector, "Failed to create connection to database via connection string:" +
34-
" jdbc:oracle:thin:@localhost:1521 and arguments: {user=username," +
35-
" oracle.jdbc.timezoneAsRegion=false, internal_logon=normal}. " +
36-
"Error: ConnectException: Connection refused.");
34+
" jdbc:oracle:thin:@localhost:1521:null and arguments: " +
35+
"{user=username, oracle.jdbc.timezoneAsRegion=false, " +
36+
"internal_logon=normal}. Error: ConnectException: Connection " +
37+
"refused.");
3738
}
3839
}

0 commit comments

Comments
 (0)