make FSMTimingSpec even more robust (no, really!)
- plus remove one unused local import to make it 200% negative
This commit is contained in:
parent
817130d65c
commit
ad79b552cc
2 changed files with 1 additions and 4 deletions
|
|
@ -181,12 +181,11 @@ object FSMTimingSpec {
|
|||
}
|
||||
when(TestCancelTimer) {
|
||||
case Ev(Tick) ⇒
|
||||
tester ! Tick
|
||||
setTimer("hallo", Tock, 1 milli, false)
|
||||
TestKit.awaitCond(context.hasMessages, 1 second)
|
||||
cancelTimer("hallo")
|
||||
setTimer("hallo", Tock, 500 millis, false)
|
||||
stay
|
||||
stay replying Tick
|
||||
case Ev(Tock) ⇒
|
||||
tester ! Tock
|
||||
stay
|
||||
|
|
|
|||
|
|
@ -329,8 +329,6 @@ class ActorPoolSpec extends AkkaSpec {
|
|||
}
|
||||
|
||||
"support typed actors" in {
|
||||
import RoutingSpec._
|
||||
|
||||
val pool = app.createProxy[Foo](new Actor with DefaultActorPool with BoundedCapacityStrategy with MailboxPressureCapacitor with SmallestMailboxSelector with Filter with RunningMeanBackoff with BasicRampup {
|
||||
def lowerBound = 1
|
||||
def upperBound = 5
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue