kafka-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Rob Withers <reefed...@gmail.com>
Subject [0.8 + scala 2.10 patches] [error] Failed tests: kafka.log.LogTest
Date Sat, 03 Aug 2013 03:51:50 GMT
I built 0.8, fresh, with the scala 2.10 patches from KAFKA-717's tgz, on my Macbook.  I ran
sbt tests (after running sbt eclipse) and got the following error:

[error] Failed: : Total 180, Failed 1, Errors 0, Passed 179, Skipped 0
[error] Failed tests:
[error] 	kafka.log.LogTest
[error] (core/test:test) sbt.TestsFailedException: Tests unsuccessful
[error] Total time: 284 s, completed Aug 2, 2013 9:42:45 PM


2013-08-02 21:41:46,036] ERROR [Kafka Log on Broker 0], Target offset 11 cannot be greater
than the last message offset 10 in the log /var/folders/pw/ybk0ckhd6nv45slbbk2rdnq40000gn/T/kafka-341270/00000000000000000000.log
(kafka.log.Log:?)
[info] LogTest:
[info] - testTimeBasedLogRoll *** FAILED ***
[info]   junit.framework.AssertionFailedError: There should be exactly one segment. expected:<1>
but was:<2>
[info]   at junit.framework.Assert.fail(Assert.java:47)
[info]   at junit.framework.Assert.failNotEquals(Assert.java:277)
[info]   at junit.framework.Assert.assertEquals(Assert.java:64)
[info]   at junit.framework.Assert.assertEquals(Assert.java:195)
[info]   at kafka.log.LogTest.testTimeBasedLogRoll(Unknown Source)
[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]   ...



thanks,
rob
Mime
View raw message