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

ASF GitHub Bot commented on KAFKA-6010:
---------------------------------------

GitHub user rajinisivaram opened a pull request:

    https://github.com/apache/kafka/pull/4018

    KAFKA-6010: Relax record conversion time test to avoid build failure

    For record conversion tests, check time >=0 since conversion times may be 
too small to be measured accurately. Since default value is -1, the test is 
still useful. Also increase message size in 
SslTransportLayerTest#testNetworkThreadTimeRecorded to avoid failures when 
processing time is too small.

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/rajinisivaram/kafka 
KAFKA-6010-MemoryRecordsBuilderTest

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/kafka/pull/4018.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #4018
    
----
commit de88403f7a77e67c77f7ad36dabcccdfff661fe4
Author: Rajini Sivaram <rajinisiva...@googlemail.com>
Date:   2017-10-04T18:44:31Z

    KAFKA-6010: Relax record conversion time test to avoid build failure

----


> Transient failure: MemoryRecordsBuilderTest.convertToV1WithMixedV0AndV2Data
> ---------------------------------------------------------------------------
>
>                 Key: KAFKA-6010
>                 URL: https://issues.apache.org/jira/browse/KAFKA-6010
>             Project: Kafka
>          Issue Type: Bug
>            Reporter: Ismael Juma
>            Assignee: Rajini Sivaram
>              Labels: transient-unit-test-failure
>
> The issue happens with various tests that call verifyRecordsProcessingStats. 
> One example:
> {code}
> Stacktrace
> java.lang.AssertionError: Processing time not recorded
>       at org.junit.Assert.fail(Assert.java:88)
>       at org.junit.Assert.assertTrue(Assert.java:41)
>       at 
> org.apache.kafka.common.record.MemoryRecordsBuilderTest.verifyRecordsProcessingStats(MemoryRecordsBuilderTest.java:651)
>       at 
> org.apache.kafka.common.record.MemoryRecordsBuilderTest.convertToV1WithMixedV0AndV2Data(MemoryRecordsBuilderTest.java:515)
> {code}
> https://builds.apache.org/blue/organizations/jenkins/kafka-trunk-jdk8/detail/kafka-trunk-jdk8/2102/tests
> cc [~rsivaram]



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Reply via email to