Adding extra output to give more hope in reproducing weird test failure that only happens in Jenkins

This commit is contained in:
Viktor Klang 2011-10-18 12:40:44 +02:00
parent cb8a0adbb8
commit 7a6508973f

View file

@ -267,7 +267,7 @@ class TestKit(_app: AkkaApplication) {
val _max = if (max eq Duration.MinusInf) remaining else max.dilated
val o = receiveOne(_max)
assert(o ne null, "timeout during expectMsg: " + hint)
assert(f.isDefinedAt(o), "does not match: " + o)
assert(f.isDefinedAt(o), "expected: " + hint + " but got unexpected message " + o)
f(o)
}