remove fallback to default-dispatcher, see #3394

This commit is contained in:
Roland 2013-05-27 20:15:24 +02:00
parent 58756be937
commit f802c94b9b
10 changed files with 86 additions and 36 deletions

View file

@ -34,12 +34,15 @@ import akka.routing.RoundRobinRouter;
import akka.routing.RouteeProvider;
import akka.testkit.AkkaSpec;
import akka.util.Timeout;
import com.typesafe.config.ConfigFactory;
public class CustomRouterDocTest {
@ClassRule
public static AkkaJUnitActorSystemResource actorSystemResource =
new AkkaJUnitActorSystemResource("CustomRouterDocTest", AkkaSpec.testConf());
new AkkaJUnitActorSystemResource(
"CustomRouterDocTest", ConfigFactory.load(ConfigFactory.parseString(
"head{}\nworkers{}").withFallback(AkkaSpec.testConf())));
private final ActorSystem system = actorSystemResource.getSystem();