Skip to content

Commit

Permalink
Added initialization step
Browse files Browse the repository at this point in the history
  • Loading branch information
arminzavada committed Sep 14, 2024
1 parent 7ec431f commit 9adaf30
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 0 deletions.
1 change: 1 addition & 0 deletions engine/src/test/kotlin/GammaVerificationTests.kt
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ class GammaVerificationTests : VerificationTest() {
@JvmStatic
fun prepare() {
prepareOxsts()
thetaExecutor.initTheta()
}
}

Expand Down
12 changes: 12 additions & 0 deletions engine/src/testFixtures/kotlin/ThetaExecutor.kt
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,18 @@ class ThetaExecutor(

val logger = LoggerFactory.getLogger(javaClass)

fun initTheta() {
val process = ProcessBuilder(
"docker",
"pull",
"ftsrg/theta-xsts-cli:$version",
)
.inheritIO()
.start()

process.waitFor(timeout, timeUnit)
}

private suspend fun runTheta(
workingDirectory: String,
name: String,
Expand Down

0 comments on commit 9adaf30

Please sign in to comment.