Details
-
Bug
-
Status: Closed
-
Minor
-
Resolution: Fixed
-
None
-
None
Description
When running tests, the jacoco coverage report is not generated. The jacoco plugin is loaded, it sets the correct Java Agent line, bit it fails to find the execution data file after tests complete.
Example:
mvn test -Dtest=TestHoodieActiveTimeline
...
22:42:40 [INFO] — jacoco-maven-plugin:0.7.8:prepare-agent (pre-unit-test) @ hudi-common —
22:42:40 [INFO] surefireArgLine set to javaagent:/home/pwason/.m2/repository/org/jacoco/org.jacoco.agent/0.7.8/org.jacoco.agent-0.7.8-runtime.jar=destfile=/home/pwason/work/java/incubator-hudi/hudi-common/target/coverage-reports/jacocout.exec
...
22:42:49 [INFO] — jacoco-maven-plugin:0.7.8:report (post-unit-test) @ hudi-common —
22:42:49 [INFO] Skipping JaCoCo execution due to missing execution data file.
Attachments
Issue Links
- links to