Skip to content

Commit

Permalink
Merge pull request #249 from VivienBudavolgyi/master
Browse files Browse the repository at this point in the history
update testcontainers-java to 1.18.1
  • Loading branch information
dimafeng authored May 25, 2023
2 parents 884d725 + 46ea842 commit 19f26c1
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 9 deletions.
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
package com.dimafeng.testcontainers

import com.amazonaws.auth.AWSCredentialsProvider
import com.amazonaws.client.builder.AwsClientBuilder
import org.testcontainers.containers.localstack.{LocalStackContainer => JavaLocalStackContainer}
import org.testcontainers.utility.DockerImageName

Expand All @@ -15,11 +13,6 @@ case class LocalStackContainer(
c.withServices(services: _*)
c
}

def endpointConfiguration(service: LocalStackContainer.Service): AwsClientBuilder.EndpointConfiguration =
container.getEndpointConfiguration(service)

def defaultCredentialsProvider: AWSCredentialsProvider = container.getDefaultCredentialsProvider
}

object LocalStackContainer {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,12 @@ import io.restassured.RestAssured.given
import io.restassured.module.scala.RestAssuredSupport.AddThenToResponse
import org.scalatest.matchers.should.Matchers
import org.scalatest.flatspec.AnyFlatSpec
import org.testcontainers.utility.DockerImageName

class VaultSpec extends AnyFlatSpec with ForAllTestContainer with Matchers {

private val port = 8200
override val container: VaultContainer = VaultContainer(vaultPort = Some(port))
override val container: VaultContainer = VaultContainer(DockerImageName.parse("vault:1.1.3"), vaultPort = Some(port))

"Vault container" should "be started" in {
given().
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.17.5"
private val testcontainersVersion = "1.18.1"
private val seleniumVersion = "2.53.1"
private val slf4jVersion = "1.7.32"
private val scalaTestVersion = "3.2.9"
Expand Down

0 comments on commit 19f26c1

Please sign in to comment.