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:
Roland 2012-10-15 17:17:54 +02:00
parent bff79c2f94
commit b96d77c15a
14 changed files with 17 additions and 17 deletions

View file

@ -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
}
}