Skip to content

Enable parallel execution of scripted in the plugin#3891

Merged
eed3si9n merged 2 commits intosbt:1.xfrom
allanrenucci:scripted
Jan 19, 2018
Merged

Enable parallel execution of scripted in the plugin#3891
eed3si9n merged 2 commits intosbt:1.xfrom
allanrenucci:scripted

Conversation

@allanrenucci
Copy link
Contributor

Rebased #3657 from @jvican

@lightbend-cla-validator

Hi @allanrenucci,

Thank you for your contribution! We really value the time you've taken to put this together.

Before we proceed with reviewing this pull request, please sign the Lightbend Contributors License Agreement:

http://www.lightbend.com/contribute/cla

@eed3si9n eed3si9n added the ready label Jan 17, 2018
jvican and others added 2 commits January 17, 2018 15:19
The change to enable batched and parallel execution for scripted was
done only for the scripted-sbt project. This pull request enables it for
scripted-plugin, so that all sbt plugins in 1.x. can benefit from it.

By default, it configures a number of parallel instances of 1 and batch
execution is disabled. Users can change the number of parallel sbt hosts
running scripted tests via the `scriptedParallelInstances` setting.

In some plugins scripted tests', batch execution can cause issues
because the first time `>` commands are executed they assume sbt starts
up. This error can be fixed by doing `reload` before running the `>`
command.

Note that the current scripted plugin does not allow parallel execution
in non-batched mode.
@allanrenucci
Copy link
Contributor Author

I have signed the CLA. Is there any chance this will get in 1.1.1?

@dwijnand
Copy link
Member

Not sure. It's debatable/borderline. I'm fairly certain this cannot introduce regressions. But it's definitely a feature (or an enhancement).

Either way I've restarted AppVeyor again.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants