You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pekko.apache.org by ro...@apache.org on 2024/06/16 10:33:03 UTC
(pekko-persistence-dynamodb) 01/01: use test traits
This is an automated email from the ASF dual-hosted git repository.
roiocam pushed a commit to branch update/testcontainers-scala-scalatest-0.41.4
in repository https://gitbox.apache.org/repos/asf/pekko-persistence-dynamodb.git
commit 14416427fb6252f419b0cf0fc7ff3f79042b771c
Author: JingZhang Chen <iR...@gmail.com>
AuthorDate: Sun Jun 16 18:32:49 2024 +0800
use test traits
---
.../scala/org/apache/pekko/persistence/dynamodb/IntegSpec.scala | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/src/test/scala/org/apache/pekko/persistence/dynamodb/IntegSpec.scala b/src/test/scala/org/apache/pekko/persistence/dynamodb/IntegSpec.scala
index 9bb7308..bc2cc34 100644
--- a/src/test/scala/org/apache/pekko/persistence/dynamodb/IntegSpec.scala
+++ b/src/test/scala/org/apache/pekko/persistence/dynamodb/IntegSpec.scala
@@ -9,14 +9,16 @@
package org.apache.pekko.persistence.dynamodb
-import com.dimafeng.testcontainers.{ FixedHostPortGenericContainer, ForAllTestContainer }
+import com.dimafeng.testcontainers.FixedHostPortGenericContainer
+import com.dimafeng.testcontainers.scalatest.TestContainerForAll
import org.scalatest.Suite
import org.testcontainers.containers.wait.strategy.HttpWaitStrategy
/**
* Base spec for tests that verify integration with DynamoDB.
*/
-trait IntegSpec extends ForAllTestContainer { self: Suite =>
+trait IntegSpec extends TestContainerForAll { self: Suite =>
+
// TODO: Use dynamic ports. This is a annoying to do as the actor system is init prior to beforeAll.
override val container: FixedHostPortGenericContainer = FixedHostPortGenericContainer(
"amazon/dynamodb-local:1.22.0",
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@pekko.apache.org
For additional commands, e-mail: commits-help@pekko.apache.org