Skip to content

Commit

Permalink
[SPARK-11790][STREAMING][TESTS] Increase the connection timeout
Browse files Browse the repository at this point in the history
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 <[email protected]>

Closes apache#9778 from zsxwing/SPARK-11790.
  • Loading branch information
zsxwing authored and Andrew Or committed Nov 17, 2015
1 parent e29656f commit 3720b14
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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 = _
Expand Down

0 comments on commit 3720b14

Please sign in to comment.