HOTFIX: increasing 30.sec timeout to 300.sec (#462)

* HOTFIX: increasing 30.sec timeout to 300.sec

this to fix SQL-backed ledger tests that currently keep timing out.
It is NOT really a fix, but a temp work-around. Tried to get rid of
this timeout, but it propogates all over the place. Need a separate
story to address this

* HOTFIX: adding a link to the issue
This commit is contained in:
Leonid Shlyapnikov 2019-04-15 12:17:53 -04:00 committed by GitHub
parent 0f2ac2d06d
commit 1dfbdb903e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -11,7 +11,8 @@ import scala.util.control.NoStackTrace
trait FutureTimeouts {
protected def timeout[T](f: Future[T], opName: String, duration: FiniteDuration = 30.seconds)(
// TODO get rid of the default timeout, see issue: #464
protected def timeout[T](f: Future[T], opName: String, duration: FiniteDuration = 300.seconds)(
implicit system: ActorSystem): Future[T] = {
val promise: Promise[T] = Promise[T]()