Repository: spark
Updated Branches:
  refs/heads/branch-1.3 6e244cf4e -> d644bd96a


[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 <[email protected]>

Closes #4342 from tdas/SPARK-5153 and squashes the following commits:

dc42762 [Tathagata Das] Increased timeout to deal with delays in overloaded 
Jenkins.

(cherry picked from commit 681f9df47ff40f7b0d9175d835e9758d33a13a06)
Signed-off-by: Tathagata Das <[email protected]>


Project: http://git-wip-us.apache.org/repos/asf/spark/repo
Commit: http://git-wip-us.apache.org/repos/asf/spark/commit/d644bd96
Tree: http://git-wip-us.apache.org/repos/asf/spark/tree/d644bd96
Diff: http://git-wip-us.apache.org/repos/asf/spark/diff/d644bd96

Branch: refs/heads/branch-1.3
Commit: d644bd96a7a27081d22e405ad923655f05bbb1d0
Parents: 6e244cf
Author: Tathagata Das <[email protected]>
Authored: Tue Feb 3 13:46:02 2015 -0800
Committer: Tathagata Das <[email protected]>
Committed: Tue Feb 3 13:46:13 2015 -0800

----------------------------------------------------------------------
 .../scala/org/apache/spark/streaming/kafka/KafkaStreamSuite.scala  | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/spark/blob/d644bd96/external/kafka/src/test/scala/org/apache/spark/streaming/kafka/KafkaStreamSuite.scala
----------------------------------------------------------------------
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 b19c053..0817c56 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"


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to