akka/akka — pull request #504 by patriknw (2012-06-01 09:42:15+00:00)
Title: Test leader member states, see 2157

* The only allowed member states for a leader are up or leaving
* Added above check in assertLeader so that we always verify that
* More usage of assertLeader in the tests