Skip to content

Commit

Permalink
Merge pull request #259 from pan3793/testcontainer-java-1.19.0
Browse files Browse the repository at this point in the history
Bump testcontianers-java 1.19.0
  • Loading branch information
dimafeng authored Aug 28, 2023
2 parents f36dae7 + 7e7ad72 commit 197bc77
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -6,14 +6,15 @@ import java.util.function.Consumer

import com.dimafeng.testcontainers.lifecycle.Stoppable
import com.github.dockerjava.api.DockerClient
import com.github.dockerjava.api.command.{CreateContainerCmd, InspectContainerResponse}
import com.github.dockerjava.api.command.InspectContainerResponse
import com.github.dockerjava.api.model.{Bind, Info, VolumesFrom}
import org.junit.runner.Description
import org.testcontainers.containers.output.OutputFrame
import org.testcontainers.containers.startupcheck.StartupCheckStrategy
import org.testcontainers.containers.traits.LinkableContainer
import org.testcontainers.containers.{FailureDetectingExternalResource, Network, TestContainerAccessor}
import org.testcontainers.containers.{GenericContainer => JavaGenericContainer, Container => JavaContainer}
import org.testcontainers.core.CreateContainerCmdModifier
import org.testcontainers.images.builder.Transferable
import org.testcontainers.lifecycle.Startable
import org.testcontainers.utility.{MountableFile, ThrowingFunction}
Expand Down Expand Up @@ -107,7 +108,7 @@ abstract class SingleContainer[T <: JavaGenericContainer[_]] extends TestContain

def logConsumers: Seq[Consumer[OutputFrame]] = container.getLogConsumers.asScala.toSeq

def createContainerCmdModifiers: Set[Consumer[CreateContainerCmd]] = container.getCreateContainerCmdModifiers.asScala.toSet
def createContainerCmdModifiers: Set[CreateContainerCmdModifier] = container.getCreateContainerCmdModifiers.asScala.toSet

def copyToFileContainerPathMap: Map[MountableFile, String] = container.getCopyToFileContainerPathMap.asScala.toMap

Expand Down
2 changes: 1 addition & 1 deletion project/Dependencies.scala
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ object Dependencies {
scope.map(s => modules.map(_ % s)).getOrElse(modules)
}

private val testcontainersVersion = "1.18.1"
private val testcontainersVersion = "1.19.0"
private val seleniumVersion = "2.53.1"
private val slf4jVersion = "1.7.32"
private val scalaTestVersion = "3.2.9"
Expand Down

0 comments on commit 197bc77

Please sign in to comment.