Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use reuseForks=false instead of forkMode=pertest #16

Merged
merged 1 commit into from
Jan 30, 2019

Conversation

batmat
Copy link
Contributor

@batmat batmat commented Jan 29, 2019

To fix the following warnings:

[INFO] --- maven-surefire-plugin:2.19.1:test (default-test) @ sezpoz ---
[WARNING] The parameter forkMode is deprecated since version 2.14. Use forkCount and reuseForks instead.

Not specifying forkCount=1, given it's the default.

Cf. http://maven.apache.org/surefire/maven-surefire-plugin/examples/fork-options-and-parallel-execution.html#Migrating_the_Deprecated_forkMode_Parameter_to_forkCount_and_reuseForks

And https://stackoverflow.com/a/40096619/345845 that nicely clarifies that pertest actually is synonymous to always.

@jglick

To fix the following warnings:

```
[INFO] --- maven-surefire-plugin:2.19.1:test (default-test) @ sezpoz ---
[WARNING] The parameter forkMode is deprecated since version 2.14. Use forkCount and reuseForks instead.
```

Not specifying forkCount=1, given it's the default.

Cf. http://maven.apache.org/surefire/maven-surefire-plugin/examples/fork-options-and-parallel-execution.html#Migrating_the_Deprecated_forkMode_Parameter_to_forkCount_and_reuseForks
@jglick jglick merged commit c50bb06 into jglick:master Jan 30, 2019
@batmat batmat deleted the forkMode-is-deprecated branch January 30, 2019 23:05
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.

3 participants