You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@impala.apache.org by "Alex Behm (Code Review)" <ge...@cloudera.org> on 2016/05/20 04:56:28 UTC

[Impala-CR](cdh5-2.6.0_5.8.0) IMPALA-3572: FE unit test coverage report with Jacoco.

Alex Behm has uploaded a new change for review.

  http://gerrit.cloudera.org:8080/3151

Change subject: IMPALA-3572: FE unit test coverage report with Jacoco.
......................................................................

IMPALA-3572: FE unit test coverage report with Jacoco.

This patch integrates Jacoco into Impala's FE test runs
for getting a code coverage report.

The instrumentation and reporting functionality is disabled
by default, and must be enabled explicitly, e.g., like this:
mvn test -Djacoco.skip=false

The code coverage report is stored in this location:
$IMPALA_HOME/logs/fe_tests/coverage

With additional changes, Jacoco can also be used to get code
coverage reports for our end-to-end tests, but that is left
for future work.

Change-Id: Id5e4f1b8afb91210d40622aadd3d21d7ed94c2a7
---
M bin/impala-config.sh
M bin/run-all-tests.sh
M buildall.sh
M fe/pom.xml
4 files changed, 59 insertions(+), 19 deletions(-)


  git pull ssh://gerrit.cloudera.org:29418/Impala refs/changes/51/3151/1
-- 
To view, visit http://gerrit.cloudera.org:8080/3151
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: Id5e4f1b8afb91210d40622aadd3d21d7ed94c2a7
Gerrit-PatchSet: 1
Gerrit-Project: Impala
Gerrit-Branch: cdh5-2.6.0_5.8.0
Gerrit-Owner: Alex Behm <al...@cloudera.com>