add test to ActorModelSpec
dispatcherShouldHandleQueueingFromMultipleThreads tests for possible race conditions in prohibiting multiple threads running the same actor concurrently
This commit is contained in:
parent
50b2c14235
commit
2deb47f8fa
3 changed files with 25 additions and 3 deletions
|
|
@ -0,0 +1,11 @@
|
|||
package akka.testkit
|
||||
|
||||
import akka.actor.dispatch.ActorModelSpec
|
||||
|
||||
class CallingThreadDispatcherModelSpec extends ActorModelSpec {
|
||||
import ActorModelSpec._
|
||||
def newInterceptedDispatcher = new CallingThreadDispatcher with MessageDispatcherInterceptor
|
||||
override def dispatcherShouldProcessMessagesInParallel {}
|
||||
}
|
||||
|
||||
// vim: set ts=4 sw=4 et:
|
||||
Loading…
Add table
Add a link
Reference in a new issue