diff options
author | Tathagata Das <tathagata.das1565@gmail.com> | 2015-02-03 13:46:02 -0800 |
---|---|---|
committer | Tathagata Das <tathagata.das1565@gmail.com> | 2015-02-03 13:46:02 -0800 |
commit | 681f9df47ff40f7b0d9175d835e9758d33a13a06 (patch) | |
tree | 81f1924055ec4ce30ffe953a1876e2c59ed4ba96 /external/kafka | |
parent | db821ed2ededf6ce79b838c77a9c10bed2ce555a (diff) | |
download | spark-681f9df47ff40f7b0d9175d835e9758d33a13a06.tar.gz spark-681f9df47ff40f7b0d9175d835e9758d33a13a06.tar.bz2 spark-681f9df47ff40f7b0d9175d835e9758d33a13a06.zip |
[SPARK-5153][Streaming][Test] Increased timeout to deal with flaky KafkaStreamSuite
Timeout increased to allow overloaded Jenkins to cope with delay in topic creation.
Author: Tathagata Das <tathagata.das1565@gmail.com>
Closes #4342 from tdas/SPARK-5153 and squashes the following commits:
dc42762 [Tathagata Das] Increased timeout to deal with delays in overloaded Jenkins.
Diffstat (limited to 'external/kafka')
-rw-r--r-- | external/kafka/src/test/scala/org/apache/spark/streaming/kafka/KafkaStreamSuite.scala | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/external/kafka/src/test/scala/org/apache/spark/streaming/kafka/KafkaStreamSuite.scala b/external/kafka/src/test/scala/org/apache/spark/streaming/kafka/KafkaStreamSuite.scala index b19c053ebf..0817c56d8f 100644 --- a/external/kafka/src/test/scala/org/apache/spark/streaming/kafka/KafkaStreamSuite.scala +++ b/external/kafka/src/test/scala/org/apache/spark/streaming/kafka/KafkaStreamSuite.scala @@ -164,7 +164,7 @@ abstract class KafkaStreamSuiteBase extends FunSuite with Eventually with Loggin } private def waitUntilMetadataIsPropagated(topic: String, partition: Int) { - eventually(timeout(1000 milliseconds), interval(100 milliseconds)) { + eventually(timeout(10000 milliseconds), interval(100 milliseconds)) { assert( server.apis.leaderCache.keySet.contains(TopicAndPartition(topic, partition)), s"Partition [$topic, $partition] metadata not propagated after timeout" |