ZeroMQ module's ConcurrentSocketActorSpec fails.

* Fixed usage of extension. See #1746
* Clarified usage of load extensions in docs. See #1745
This commit is contained in:
Patrik Nordwall 2012-01-30 16:47:33 +01:00
parent 945ab2c6ab
commit 269ff0aa96
4 changed files with 29 additions and 7 deletions

View file

@ -9,11 +9,7 @@ import akka.util.duration._
import akka.actor.{ Cancellable, Actor, Props, ActorRef }
object ConcurrentSocketActorSpec {
val config = """
akka {
extensions = ["akka.zeromq.ZeroMQExtension"]
}
"""
val config = ""
}
class ConcurrentSocketActorSpec
@ -23,7 +19,7 @@ class ConcurrentSocketActorSpec
val endpoint = "tcp://127.0.0.1:%s" format { val s = new java.net.ServerSocket(0); try s.getLocalPort finally s.close() }
def zmq = system.extension(ZeroMQExtension)
def zmq = ZeroMQExtension(system)
"ConcurrentSocketActor" should {
"support pub-sub connections" in {