Integrated: 7468: Fix jdp test coverage

Alex Macdonald aptmac at openjdk.java.net
Mon Dec 6 14:31:17 UTC 2021


On Fri, 3 Dec 2021 19:52:34 GMT, Alex Macdonald <aptmac at openjdk.org> wrote:

> This PR addresses JMC-7468 [[0]](https://bugs.openjdk.java.net/browse/JMC-7468), in which the jdp test coverage is not added to the core coverage report.
> 
> The one-liner fix here is to make sure the argLine used by Jacoco is not overwritten by the surefire-plugin in the jdp.test pom.
> 
> Before (0%):
> ![2021-12-03-141742_1091x251_scrot](https://user-images.githubusercontent.com/10425301/144663611-4424aae8-947c-4006-a26d-335ab325bfef.png)
> 
> After (60%):
> ![2021-12-03-144244_1092x258_scrot](https://user-images.githubusercontent.com/10425301/144663625-5fc72bc8-c243-4f86-b00a-6f9d6a8cc3e7.png)
> 
> [0] https://bugs.openjdk.java.net/browse/JMC-7468

This pull request has now been integrated.

Changeset: 9148435e
Author:    Alex Macdonald <aptmac at openjdk.org>
URL:       https://git.openjdk.java.net/jmc/commit/9148435e23f746dd82422acd9d24c32874573dc9
Stats:     1 line in 1 file changed: 0 ins; 0 del; 1 mod

7468: Fix jdp test coverage

Reviewed-by: hirt

-------------

PR: https://git.openjdk.java.net/jmc/pull/340


More information about the jmc-dev mailing list