Changed order of sections and additions based on review . See #2349

This commit is contained in:
Björn Antonsson 2012-09-21 12:30:05 +02:00
parent 67f0de87b1
commit 3d83a25d64
3 changed files with 65 additions and 37 deletions

View file

@ -27,7 +27,7 @@ class MultiNodeSample extends MultiNodeSpec(MultiNodeSampleConfig)
import MultiNodeSampleConfig._
def initialParticipants = 2
def initialParticipants = roles.size
"A MultiNodeSample" must {
@ -38,7 +38,7 @@ class MultiNodeSample extends MultiNodeSpec(MultiNodeSampleConfig)
"send to and receive from a remote node" in {
runOn(node1) {
enterBarrier("deployed")
val ponger = system.actorFor(node(node2).toString + "user/ponger")
val ponger = system.actorFor(node(node2) / "user" / "ponger")
ponger ! "ping"
expectMsg("pong")
}