Skip to content

Commit

Permalink
Run oracle tests within container / Temporary log connection link #2
Browse files Browse the repository at this point in the history
  • Loading branch information
Tapac committed Sep 12, 2017
1 parent 63b8775 commit 00f5858
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,8 @@ enum class TestDB(val dialect: DatabaseDialect, val connection: String, val driv
POSTGRESQL(PostgreSQLDialect, "jdbc:postgresql://localhost:12346/template1?user=postgres&password=&lc_messages=en_US.UTF-8", "org.postgresql.Driver",
beforeConnection = { postgresSQLProcess }, afterTestFinished = { postgresSQLProcess.close() }),
ORACLE(OracleDialect, driver = "oracle.jdbc.OracleDriver", user = "ExposedTest", pass = "12345",
connection = "jdbc:oracle:thin:@//${System.getProperty("exposed.test.oracle.host", "192.168.99.100")}" +
":${System.getProperty("exposed.test.oracle.port", "1521")}/xe.oracle.docker".also {
connection = ("jdbc:oracle:thin:@//${System.getProperty("exposed.test.oracle.host", "192.168.99.100")}" +
":${System.getProperty("exposed.test.oracle.port", "1521")}/xe.oracle.docker").also {
exposedLogger.info("Oracle connection url: $it")
},
beforeConnection = {
Expand Down

0 comments on commit 00f5858

Please sign in to comment.