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 <[email protected]> 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: [email protected] For additional commands, e-mail: [email protected]
