You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@kafka.apache.org by "Joel Koshy (JIRA)" <ji...@apache.org> on 2014/12/18 12:40:13 UTC
[jira] [Commented] (KAFKA-1823) transient unit test failure in
PartitionAssignorTest
[ https://issues.apache.org/jira/browse/KAFKA-1823?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14251549#comment-14251549 ]
Joel Koshy commented on KAFKA-1823:
-----------------------------------
This was caused by KAFKA-1684 - it can be reproduced by setting MaxTopicCount to 0. Will upload a patch in a minute.
> transient unit test failure in PartitionAssignorTest
> ----------------------------------------------------
>
> Key: KAFKA-1823
> URL: https://issues.apache.org/jira/browse/KAFKA-1823
> Project: Kafka
> Issue Type: Improvement
> Components: core
> Affects Versions: 0.8.3
> Reporter: Jun Rao
>
> Saw the following transient unit test failure.
> unit.kafka.consumer.PartitionAssignorTest > testRoundRobinPartitionAssignor FAILED
> java.lang.UnsupportedOperationException: empty.max
> at scala.collection.TraversableOnce$class.max(TraversableOnce.scala:216)
> at scala.collection.AbstractIterator.max(Iterator.scala:1157)
> at unit.kafka.consumer.PartitionAssignorTest$.unit$kafka$consumer$PartitionAssignorTest$$assignAndVerify(PartitionAssignorTest.scala:190)
> at unit.kafka.consumer.PartitionAssignorTest$$anonfun$testRoundRobinPartitionAssignor$1.apply$mcVI$sp(PartitionAssignorTest.scala:54)
> at scala.collection.immutable.Range.foreach$mVc$sp(Range.scala:141)
> at unit.kafka.consumer.PartitionAssignorTest.testRoundRobinPartitionAssignor(PartitionAssignorTest.scala:39)
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)