make unbalanced Address() constructor private, fix parsing, see #1806

This commit is contained in:
Roland 2012-02-13 17:46:14 +01:00
parent 9b9378c2f8
commit 669a4ff9ca
7 changed files with 27 additions and 24 deletions

View file

@ -160,7 +160,7 @@ akka.actor.deployment {
children must have size 2
val parents = children.map(_.parent)
parents must have size 1
parents.head.address must be(Address("akka", "remote_sys", Some("localhost"), Some(12347)))
parents.head.address must be(Address("akka", "remote_sys", "localhost", 12347))
children foreach (_.address.toString must be === "akka://remote_sys@localhost:12347")
system.stop(router)
}