[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 <tathagata.das1565@gmail.com> Closes #4342 from tdas/SPARK-5153 and squashes the following commits: dc42762 [Tathagata Das] Increased timeout to deal with delays in overloaded Jenkins.
This commit is contained in:
parent
db821ed2ed
commit
681f9df47f
|
@ -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"
|
||||
|
|
Loading…
Reference in a new issue