Skip to content

Commit

Permalink
Update cassandra, mssqlserver, mysql, ... to 1.19.7 (#141)
Browse files Browse the repository at this point in the history
  • Loading branch information
scala-steward-asf[bot] authored Apr 8, 2024
1 parent 2eb803e commit 25ccc68
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ final class ContainerSessionProvider extends CqlSessionProvider {
override def connect()(implicit ec: ExecutionContext): Future[CqlSession] = started.map { _ =>
CqlSession.builder
.addContactEndPoint(new DefaultEndPoint(InetSocketAddress
.createUnresolved(container.getContainerIpAddress, container.getFirstMappedPort.intValue())))
.createUnresolved(container.getHost, container.getFirstMappedPort.intValue())))
.withLocalDatacenter("datacenter1")
.build()
}
Expand Down
2 changes: 0 additions & 2 deletions jdbc/src/it/resources/db/oracle-init.sql

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -121,8 +121,9 @@ object JdbcContainerOffsetStoreSpec {
// otherwise we get ORA-01882: timezone region not found
System.setProperty("oracle.jdbc.timezoneAsRegion", "false")
override def newContainer() =
new OracleContainer("oracleinanutshell/oracle-xe-11g:1.0.0")
.withInitScript("db/oracle-init.sql")
new OracleContainer("gvenzl/oracle-xe:21-slim-faststart")
.withUsername("TEST_SCHEMA")
.withPassword("password")
}

}
Expand Down
2 changes: 1 addition & 1 deletion project/Dependencies.scala
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ object Dependencies {
val connectorsKafka = PekkoConnectorsKafkaDependency.version
val slick = "3.5.0"
val scalaTest = "3.2.18"
val testContainers = "1.15.3"
val testContainers = "1.19.7"
val junit = "4.13.2"
val h2Driver = "2.2.224"
val jackson = "2.16.2" // this should match the version of jackson used by pekko-serialization-jackson
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ object SlickContainerOffsetStoreSpec {
// otherwise we get ORA-01882: timezone region not found
System.setProperty("oracle.jdbc.timezoneAsRegion", "false")

val container = initContainer(new OracleContainer("oracleinanutshell/oracle-xe-11g:1.0.0"))
val container = initContainer(new OracleContainer("gvenzl/oracle-xe:21-slim-faststart"))

override def config: Config =
super.config.withFallback(ConfigFactory.parseString("""
Expand Down

0 comments on commit 25ccc68

Please sign in to comment.