mDialog/scala-zeromq — pull request #21 by damienlevin (2014-09-11 22:07:14+00:00)
Title: Fixed socket creation timeouts

With poll-timeout > new-socket-timeout : In ZeroMQExtension if a socket creation is attempted before the initialization of the PUB/SUB sockets used to send interrupts, the SocketManager poller.poll (line59) will block the Actor thread and prevent any socket creation (NewSocket).

Due to the fact that actorOf[SocketManager] is async, Tests were randomly passing since SocketManager was receiving NewSocket before its Poll message sent at initialization.