diff options
author | Shixiong Zhu <shixiong@databricks.com> | 2015-11-17 15:47:39 -0800 |
---|---|---|
committer | Andrew Or <andrew@databricks.com> | 2015-11-17 15:47:39 -0800 |
commit | 3720b1480c7d050ca20f98d65762224ae5639607 (patch) | |
tree | f29df0ac64df7626fb3f3656836774b54d6fe97b /external/kafka/src/main | |
parent | e29656f8e7fa19686b448292e20d8bbf07ab9f11 (diff) | |
download | spark-3720b1480c7d050ca20f98d65762224ae5639607.tar.gz spark-3720b1480c7d050ca20f98d65762224ae5639607.tar.bz2 spark-3720b1480c7d050ca20f98d65762224ae5639607.zip |
[SPARK-11790][STREAMING][TESTS] Increase the connection timeout
Sometimes, EmbeddedZookeeper may need more than 6 seconds to setup up in a slow Jenkins worker. So just increase the timeout, it won't increase the test time if the test passes.
Author: Shixiong Zhu <shixiong@databricks.com>
Closes #9778 from zsxwing/SPARK-11790.
Diffstat (limited to 'external/kafka/src/main')
-rw-r--r-- | external/kafka/src/main/scala/org/apache/spark/streaming/kafka/KafkaTestUtils.scala | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/external/kafka/src/main/scala/org/apache/spark/streaming/kafka/KafkaTestUtils.scala b/external/kafka/src/main/scala/org/apache/spark/streaming/kafka/KafkaTestUtils.scala index c9fd715d3d..86394ea8a6 100644 --- a/external/kafka/src/main/scala/org/apache/spark/streaming/kafka/KafkaTestUtils.scala +++ b/external/kafka/src/main/scala/org/apache/spark/streaming/kafka/KafkaTestUtils.scala @@ -52,7 +52,7 @@ private[kafka] class KafkaTestUtils extends Logging { // Zookeeper related configurations private val zkHost = "localhost" private var zkPort: Int = 0 - private val zkConnectionTimeout = 6000 + private val zkConnectionTimeout = 60000 private val zkSessionTimeout = 6000 private var zookeeper: EmbeddedZookeeper = _ |