cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Robert Stupp (JIRA)" <>
Subject [jira] [Commented] (CASSANDRA-10672) jacoco instrumentation breaks UDF validation
Date Sun, 08 Nov 2015 09:39:11 GMT


Robert Stupp commented on CASSANDRA-10672:

Can you also setup branches so that we can have cassci results?

> jacoco instrumentation breaks UDF validation
> --------------------------------------------
>                 Key: CASSANDRA-10672
>                 URL:
>             Project: Cassandra
>          Issue Type: Bug
>            Reporter: Russ Hatch
>            Assignee: Russ Hatch
>             Fix For: 3.2
>         Attachments: trunk-10672.txt
> The jacoco agent injects a synthetic method into UDF classes as part of instrumentation
for code coverage. Currently the UDF code checks the method count on java UDF classes, and
it fails due to the jacoco synthetic method increasing the method count.
> This causes a number of false test failures when running unit tests with jacoco instrumentation.
> A simple fix is just to ignore synthetic methods in the counting process.

This message was sent by Atlassian JIRA

View raw message