Skip to content

Commit

Permalink
Remove old docker library
Browse files Browse the repository at this point in the history
Fix integration specs
Deprecate OpenApiSpec
  • Loading branch information
ccellado committed Mar 16, 2024
1 parent 8adcbc8 commit aebb019
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 0 additions & 2 deletions build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,6 @@ libraryDependencies ++= Seq(

"org.asynchttpclient" % "async-http-client" % "2.6.+" % "test",
"com.fasterxml.jackson.dataformat" % "jackson-dataformat-properties" % "2.9.2" % "test",
// "com.spotify" % "docker-client" % "8.14.5" % "test" classifier "shaded",
"com.github.docker-java" % "docker-java-core" % "3.3.4" % Test,
"com.github.docker-java" % "docker-java-transport-httpclient5" % "3.3.4" % Test,

Expand Down Expand Up @@ -166,7 +165,6 @@ inConfig(Linux)(
)

Defaults.itSettings
//lazy val ItTest = config("it") extend (IntegrationTest, Test)
configs(IntegrationTest extend Test)
inConfig(IntegrationTest)(Seq(
parallelExecution := false,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,9 @@ trait IntegrationSuite

implicit def executionContext: ExecutionContext = ErgoTestHelpers.defaultExecutionContext

protected val localDataDir: String = s"/tmp/ergo-${Random.nextInt(Int.MaxValue)}"
val tempDir: String = System.getenv("TMPDIR")

protected val localDataDir: String = s"$tempDir/ergo-${Random.nextInt(Int.MaxValue)}"

protected val docker: Docker = new Docker(tag = getClass.getSimpleName, localDataVolumeOpt = Some(localDataDir))

Expand Down

0 comments on commit aebb019

Please sign in to comment.