actually build the samples
and fix the resulting breakage (of not compiling them for some time, that is) also remove the last casts to FiniteDuration
This commit is contained in:
parent
bff79c2f94
commit
b96d77c15a
14 changed files with 17 additions and 17 deletions
|
|
@ -231,7 +231,7 @@ class ProducerFeatureTest extends WordSpec with BeforeAndAfterAll with BeforeAnd
|
|||
def stopGracefully(actors: ActorRef*)(implicit timeout: Timeout) {
|
||||
val deadline = timeout.duration.fromNow
|
||||
for (a ← actors)
|
||||
Await.result(gracefulStop(a, deadline.timeLeft.asInstanceOf[FiniteDuration]), deadline.timeLeft) must be === true
|
||||
Await.result(gracefulStop(a, deadline.timeLeft), deadline.timeLeft) must be === true
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue