Skip to content

Commit

Permalink
Enable parallel execution of Scripted tests (#951)
Browse files Browse the repository at this point in the history
  • Loading branch information
earldouglas authored Sep 29, 2024
1 parent abb4cbf commit 0e8781e
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 2 deletions.
2 changes: 2 additions & 0 deletions build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@ scriptedBufferLog := false
watchSources ++= { (sourceDirectory.value ** "*").get }
scriptedLaunchOpts +=
"-DtemplateDirectory=" + (sourceDirectory.value / "template")
scriptedBatchExecution := true
scriptedParallelInstances := 8

// Scalafix
semanticdbEnabled := true
Expand Down
4 changes: 2 additions & 2 deletions src/sbt-test/plugins/sbt-war/sbt/test.sbt
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
enablePlugins(SbtWar)

Webapp / port := 8081
War / port := 8082
Webapp / port := 8083
War / port := 8085

TaskKey[Unit]("await-open") := {

Expand Down
2 changes: 2 additions & 0 deletions src/sbt-test/plugins/war-package-runner/sbt/test.sbt
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
enablePlugins(WarPackageRunnerPlugin)

War / port := 8081

TaskKey[Unit]("await-open") := {

def isOpen(port: Int): Boolean =
Expand Down
2 changes: 2 additions & 0 deletions src/sbt-test/plugins/webapp-components-runner/sbt/test.sbt
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
enablePlugins(WebappComponentsRunnerPlugin)

Webapp / port := 8082

TaskKey[Unit]("await-open") := {

def isOpen(port: Int): Boolean =
Expand Down

0 comments on commit 0e8781e

Please sign in to comment.