Skip to content

Commit 35a99f8

Browse files
sarutakLuciferYang
authored andcommitted
[SPARK-54393][BUILD][TESTS] Upgrade oracle free to 23.26.0
### What changes were proposed in this pull request? This PR aims to upgrade the docker image for Oracle Database to `23.26.0`. ### Why are the changes needed? Ensuring the JDBC source works with the newer Oracle Database. ### Does this PR introduce _any_ user-facing change? No. ### How was this patch tested? Tested on my dev environment. With `PASSWORD_INIT_TIMEOUT=30`, I observed the test failed 3 times out of 50 rounds due to timeout. So I increased the timeout to `60` and the test failed 0 times out of 50 rounds. ### Was this patch authored or co-authored using generative AI tooling? No. Closes #53107 from sarutak/upgrade-oracle-free-23.26. Authored-by: Kousuke Saruta <sarutak@amazon.co.jp> Signed-off-by: yangjie01 <yangjie01@baidu.com>
1 parent b712700 commit 35a99f8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

connector/docker-integration-tests/src/test/scala/org/apache/spark/sql/jdbc/OracleDatabaseOnDocker.scala

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,12 +23,12 @@ class OracleDatabaseOnDocker extends DatabaseOnDocker with Logging {
2323
// sarutak/oracle-free is a custom fork of gvenzl/oracle-free which allows to set timeout for
2424
// password initialization. See SPARK-54076 for details.
2525
lazy override val imageName =
26-
sys.env.getOrElse("ORACLE_DOCKER_IMAGE_NAME", "sarutak/oracle-free:23.9-slim")
26+
sys.env.getOrElse("ORACLE_DOCKER_IMAGE_NAME", "sarutak/oracle-free:23.26.0-slim")
2727
val oracle_password = "Th1s1sThe0racle#Pass"
2828
override val env = Map(
2929
"ORACLE_PWD" -> oracle_password, // oracle images uses this
3030
"ORACLE_PASSWORD" -> oracle_password, // gvenzl/oracle-free uses this
31-
"PASSWORD_INIT_TIMEOUT" -> "30"
31+
"PASSWORD_INIT_TIMEOUT" -> "60"
3232
)
3333
override val usesIpc = false
3434
override val jdbcPort: Int = 1521

0 commit comments

Comments
 (0)