Skip to content

Commit 681f9df

Browse files
committed
[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 apache#4342 from tdas/SPARK-5153 and squashes the following commits: dc42762 [Tathagata Das] Increased timeout to deal with delays in overloaded Jenkins.
1 parent db821ed commit 681f9df

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

external/kafka/src/test/scala/org/apache/spark/streaming/kafka/KafkaStreamSuite.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -164,7 +164,7 @@ abstract class KafkaStreamSuiteBase extends FunSuite with Eventually with Loggin
164164
}
165165

166166
private def waitUntilMetadataIsPropagated(topic: String, partition: Int) {
167-
eventually(timeout(1000 milliseconds), interval(100 milliseconds)) {
167+
eventually(timeout(10000 milliseconds), interval(100 milliseconds)) {
168168
assert(
169169
server.apis.leaderCache.keySet.contains(TopicAndPartition(topic, partition)),
170170
s"Partition [$topic, $partition] metadata not propagated after timeout"

0 commit comments

Comments
 (0)