File tree Expand file tree Collapse file tree 3 files changed +9
-2
lines changed Expand file tree Collapse file tree 3 files changed +9
-2
lines changed Original file line number Diff line number Diff line change 1+ import Tests ._
2+
13lazy val commonSettings = Seq (
24 name := " metacall" ,
35 scalaVersion := " 2.13.4" ,
@@ -53,8 +55,10 @@ lazy val root = (project in file("."))
5355 .settings(commonSettings : _* )
5456 .settings(
5557 name := " metacall" ,
56- parallelExecution in Test := false ,
57- fork in (Test / run) := true ,
58+ fork in Test := true ,
59+ testGrouping in Test := (testGrouping in Test ).value.flatMap { group =>
60+ group.tests map (test => Group (test.name, Seq (test), SubProcess (ForkOptions ())))
61+ },
5862 dockerfile in docker := new Dockerfile {
5963 from(" metacall/core:dev" )
6064
Original file line number Diff line number Diff line change @@ -12,6 +12,7 @@ class CallerSpecRunner {
1212
1313class CallerSpec extends AnyFlatSpec {
1414 " Caller" should " start successfully" in {
15+ println(s " ----------------------- MetaCall started in ${ProcessHandle .current().pid()} ----------------------- " )
1516 Caller .start()
1617 }
1718
Original file line number Diff line number Diff line change @@ -19,6 +19,8 @@ class MetaCallSpec extends AnyFlatSpec {
1919 val metacall = Bindings .instance
2020
2121 " MetaCall" should " initialize successfully" in {
22+ println(s " ----------------------- MetaCall started in ${ProcessHandle .current().pid()} ----------------------- " )
23+
2224 // TODO: Remove this if we drop support for executing Scala outside of MetaCall
2325 // TODO: Create a destroy method wrapping this functionality
2426 if (System .getProperty(" metacall.polyglot.name" ) != " core" ) {
You can’t perform that action at this time.
0 commit comments