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

Aggregation doesn't work when building w/ multiple threads #83

Open
cosminci opened this issue Jun 7, 2020 · 1 comment
Open

Aggregation doesn't work when building w/ multiple threads #83

cosminci opened this issue Jun 7, 2020 · 1 comment

Comments

@cosminci
Copy link

cosminci commented Jun 7, 2020

When running the maven build with -T 1C in a multi-module maven project with a common module that needs to be run before the others can be built in parallel, only the coverage for the common module ends up in the aggregated report.

When running with no parallelism, module data is aggregated correctly.

Maven includes scoverage in a list of plugins that might not be thread-safe:

[WARNING] The following plugins are not marked @threadSafe in Backends Config:
[WARNING] org.scoverage:scoverage-maven-plugin:1.4.1
[WARNING] Enable debug to see more precisely which goals are not marked @threadSafe.

Is this a know limitation?

@harrysingh
Copy link

harrysingh commented Feb 26, 2021

+1
I have also seen cases where in multi module project it fails to run test due to threading issues. Is there a plan to make the plugin thread safe?

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

No branches or pull requests

2 participants