This is an automated email from the ASF dual-hosted git repository.

roiocam pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/pekko-projection.git


The following commit(s) were added to refs/heads/main by this push:
     new 25ccc68  Update cassandra, mssqlserver, mysql, ... to 1.19.7 (#141)
25ccc68 is described below

commit 25ccc687aaad848e9fd6fa747243ffee206eb61a
Author: scala-steward-asf[bot] 
<147768647+scala-steward-asf[bot]@users.noreply.github.com>
AuthorDate: Mon Apr 8 17:18:24 2024 +0800

    Update cassandra, mssqlserver, mysql, ... to 1.19.7 (#141)
---
 .../apache/pekko/projection/cassandra/ContainerSessionProvider.scala | 2 +-
 jdbc/src/it/resources/db/oracle-init.sql                             | 2 --
 .../apache/pekko/projection/jdbc/JdbcContainerOffsetStoreSpec.scala  | 5 +++--
 project/Dependencies.scala                                           | 2 +-
 .../pekko/projection/slick/SlickContainerOffsetStoreSpec.scala       | 2 +-
 5 files changed, 6 insertions(+), 7 deletions(-)

diff --git 
a/cassandra/src/it/scala/org/apache/pekko/projection/cassandra/ContainerSessionProvider.scala
 
b/cassandra/src/it/scala/org/apache/pekko/projection/cassandra/ContainerSessionProvider.scala
index 43152ce..a55eed5 100644
--- 
a/cassandra/src/it/scala/org/apache/pekko/projection/cassandra/ContainerSessionProvider.scala
+++ 
b/cassandra/src/it/scala/org/apache/pekko/projection/cassandra/ContainerSessionProvider.scala
@@ -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()
   }
diff --git a/jdbc/src/it/resources/db/oracle-init.sql 
b/jdbc/src/it/resources/db/oracle-init.sql
deleted file mode 100644
index 3014570..0000000
--- a/jdbc/src/it/resources/db/oracle-init.sql
+++ /dev/null
@@ -1,2 +0,0 @@
-CREATE USER "TEST_SCHEMA" IDENTIFIED BY password;
-GRANT UNLIMITED TABLESPACE TO "TEST_SCHEMA";
\ No newline at end of file
diff --git 
a/jdbc/src/it/scala/org/apache/pekko/projection/jdbc/JdbcContainerOffsetStoreSpec.scala
 
b/jdbc/src/it/scala/org/apache/pekko/projection/jdbc/JdbcContainerOffsetStoreSpec.scala
index a6e21bf..5021f40 100644
--- 
a/jdbc/src/it/scala/org/apache/pekko/projection/jdbc/JdbcContainerOffsetStoreSpec.scala
+++ 
b/jdbc/src/it/scala/org/apache/pekko/projection/jdbc/JdbcContainerOffsetStoreSpec.scala
@@ -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")
   }
 
 }
diff --git a/project/Dependencies.scala b/project/Dependencies.scala
index 8b64eb2..7df4f2f 100644
--- a/project/Dependencies.scala
+++ b/project/Dependencies.scala
@@ -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
diff --git 
a/slick/src/it/scala/org/apache/pekko/projection/slick/SlickContainerOffsetStoreSpec.scala
 
b/slick/src/it/scala/org/apache/pekko/projection/slick/SlickContainerOffsetStoreSpec.scala
index 81df826..b924fe9 100644
--- 
a/slick/src/it/scala/org/apache/pekko/projection/slick/SlickContainerOffsetStoreSpec.scala
+++ 
b/slick/src/it/scala/org/apache/pekko/projection/slick/SlickContainerOffsetStoreSpec.scala
@@ -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("""


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to