add test to ActorModelSpec

dispatcherShouldHandleQueueingFromMultipleThreads tests for possible race
conditions in prohibiting multiple threads running the same actor concurrently
This commit is contained in:
Roland Kuhn 2011-03-06 21:53:09 +01:00
parent 50b2c14235
commit 2deb47f8fa
3 changed files with 25 additions and 3 deletions

View file

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