Skip to content

Commit

Permalink
Increased timeout to deal with delays in overloaded Jenkins.
Browse files Browse the repository at this point in the history
  • Loading branch information
tdas committed Feb 3, 2015
1 parent 62a93a1 commit dc42762
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit dc42762

Please sign in to comment.