Repository: spark
Updated Branches:
  refs/heads/branch-1.2 591cd8393 -> 36c299430


[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/36c29943
Tree: http://git-wip-us.apache.org/repos/asf/spark/tree/36c29943
Diff: http://git-wip-us.apache.org/repos/asf/spark/diff/36c29943

Branch: refs/heads/branch-1.2
Commit: 36c2994304e1bad588d18c5cd9044e7d3617fcd5
Parents: 591cd83
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:24 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/36c29943/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