You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@kafka.apache.org by "Joe Stein (JIRA)" <ji...@apache.org> on 2012/07/28 21:06:34 UTC

[jira] [Comment Edited] (KAFKA-134) Upgrade Kafka to sbt 0.11.3

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

Joe Stein edited comment on KAFKA-134 at 7/28/12 7:05 PM:
----------------------------------------------------------

down to 1 test failing on trunk and a different 1 test failing on branch

got things working better now by adding

parallelExecution in Test := false 

into Build.scala 's buildSettings

on trunk failure is

[info] - testCollateAndSerializeEvents *** FAILED ***
[info]   java.lang.AssertionError: Expectation failure on verify:
[info]     multiSend([ProducerRequest(test1$topic,1,75), ProducerRequest(test-topic,0,70), ProducerRequest(test-topic,1,70), ProducerRequest(test1$topic,0,75)]): expected: 1, actual: 0
[info]   at org.easymock.internal.MocksControl.verify(MocksControl.java:184)
[info]   at org.easymock.EasyMock.verify(EasyMock.java:2038)
[info]   at kafka.producer.AsyncProducerTest.testCollateAndSerializeEvents(AsyncProducerTest.scala:292)
[info]   at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[info]   at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
[info]   at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
[info]   at java.lang.reflect.Method.invoke(Method.java:597)
[info]   at org.junit.internal.runners.TestMethodRunner.executeMethodBody(TestMethodRunner.java:99)
[info]   at org.junit.internal.runners.TestMethodRunner.runUnprotected(TestMethodRunner.java:81)
[info]   at org.junit.internal.runners.BeforeAndAfterRunner.runProtected(BeforeAndAfterRunner.java:34)
[info]   ...

on 0.8 branch, testFailedSendRetryLogic is failing ... 

[info]   Not expected (AsyncProducerTest.scala:483)
                
      was (Author: charmalloc):
    down to 1 test failing now by adding

parallelExecution in Test := false 

into Build.scala 's buildSettings

[info] - testCollateAndSerializeEvents *** FAILED ***
[info]   java.lang.AssertionError: Expectation failure on verify:
[info]     multiSend([ProducerRequest(test1$topic,1,75), ProducerRequest(test-topic,0,70), ProducerRequest(test-topic,1,70), ProducerRequest(test1$topic,0,75)]): expected: 1, actual: 0
[info]   at org.easymock.internal.MocksControl.verify(MocksControl.java:184)
[info]   at org.easymock.EasyMock.verify(EasyMock.java:2038)
[info]   at kafka.producer.AsyncProducerTest.testCollateAndSerializeEvents(AsyncProducerTest.scala:292)
[info]   at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[info]   at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
[info]   at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
[info]   at java.lang.reflect.Method.invoke(Method.java:597)
[info]   at org.junit.internal.runners.TestMethodRunner.executeMethodBody(TestMethodRunner.java:99)
[info]   at org.junit.internal.runners.TestMethodRunner.runUnprotected(TestMethodRunner.java:81)
[info]   at org.junit.internal.runners.BeforeAndAfterRunner.runProtected(BeforeAndAfterRunner.java:34)
[info]   ...
                  
> Upgrade Kafka to sbt 0.11.3
> ---------------------------
>
>                 Key: KAFKA-134
>                 URL: https://issues.apache.org/jira/browse/KAFKA-134
>             Project: Kafka
>          Issue Type: Improvement
>          Components: packaging
>            Reporter: Joshua Hartman
>         Attachments: kafka-134-v2-draft.patch, kafka-134-v3-draft.patch, kafka_patch.txt
>
>
> Upgrading to sbt 0.10.1 is a nice to have as sbt moves forward. Plus, it's a requirement for me to help publish Kafka to maven :)

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira