[ 
https://issues.apache.org/jira/browse/LUCENE-5439?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14487233#comment-14487233
 ] 

Uwe Schindler edited comment on LUCENE-5439 at 4/9/15 12:03 PM:
----------------------------------------------------------------

bq. I don't want this. I am tired of not having a code coverage report in 
jenkins for lucene for months, and its because solr tests fail! 

The code coverage is calculated in any case, because jenkins does not fail on 
broken tests (it passes some {{-Dtests.dontfail}}- like property, see root 
clover job.

The problem why code coverage was "red" for several month was another issue: 
Clover OOMed because the -Xmx of Jenkins's ANT call was to small :( If solr 
tests fail, Jenkins just turns "yellow", but still produces coverage. Look at 
the console output... I just did not notice and forgot to fix! Sorry.


was (Author: thetaphi):
bq. I don't want this. I am tired of not having a code coverage report in 
jenkins for lucene for months, and its because solr tests fail! 

The code coverage is calculated in any case, because jenkins does not fail on 
broken tests (it passes some {{-Dtests.dontfail}}- like property, see root 
clover job.

The problem why code coverage was "red" for several month was another issue: 
Clover OOMed because the -Xmx of Jenkins's ANT call was to small :( If solr 
tests fail, Jenkins just turns red, but still produces coverage. Look at the 
console output... I just did not notice and forgot to fix! Sorry.

> Add Jacoco option for Test Coverage
> -----------------------------------
>
>                 Key: LUCENE-5439
>                 URL: https://issues.apache.org/jira/browse/LUCENE-5439
>             Project: Lucene - Core
>          Issue Type: Improvement
>            Reporter: Grant Ingersoll
>            Assignee: Robert Muir
>            Priority: Minor
>             Fix For: Trunk, 5.2
>
>         Attachments: LUCENE-5439.patch, LUCENE-5439.patch, LUCENE-5439.patch
>
>
> Jacoco (http://www.jacoco.org/) is a much cleaner and simpler to use code 
> coverage tool than clover and additionally doesn't require having a third 
> party license since it is open source.  It also has nice Jenkins integration 
> tools that make it incredibly easy to see what is and isn't tested.  We 
> should convert the Lucene and Solr builds to use Jacoco instead of Clover.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to