Merge pull request #1487 from akka/wip-3394-creationVsDispatcher-∂π
remove fallback to default-dispatcher, see #3394
This commit is contained in:
commit
003588eef5
10 changed files with 86 additions and 36 deletions
|
|
@ -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();
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue