Set the default scriptedBatchExecution to true

sbt itself effectively runs its scripted test with
scriptedBatchExecution true and scriptedParallelInstances 1. The
performance is much better when this works. This can cause issues, see
https://github.com/sbt/sbt/issues/6042, but we inadvertently made this
behavior the default in 1.4.0 and it took about a month before #6042 was
reported so I think most users would benefit from this default.
This commit is contained in:
Ethan Atkins 2020-11-03 09:21:26 -08:00
parent 3b9b20051f
commit 749d32df36
1 changed files with 1 additions and 1 deletions

View File

@ -78,7 +78,7 @@ object ScriptedPlugin extends AutoPlugin {
scriptedClasspath := getJars(ScriptedConf).value,
scriptedTests := scriptedTestsTask.value,
scriptedParallelInstances := 1,
scriptedBatchExecution := false,
scriptedBatchExecution := true,
scriptedRun := scriptedRunTask.value,
scriptedDependencies := {
def use[A](@deprecated("unused", "") x: A*): Unit = () // avoid unused warnings