unbreak the akka-actor-nightly build

This commit is contained in:
Roland 2012-09-07 16:56:42 +02:00
parent 397006918a
commit 79c9cdd98e
2 changed files with 2 additions and 2 deletions

View file

@ -568,7 +568,7 @@ trait TestKitBase {
val message =
if (max == 0.seconds) {
queue.pollFirst
} else if (max.finite_?) {
} else if (max.isFinite) {
queue.pollFirst(max.length, max.unit)
} else {
queue.takeFirst