format source with scalafmt, #26511

This commit is contained in:
Auto Format 2019-03-13 10:56:20 +01:00 committed by Patrik Nordwall
parent 2ba9b988df
commit 75579bed17
779 changed files with 15729 additions and 13096 deletions

View file

@ -82,10 +82,10 @@ abstract class MultiDcSingletonManagerSpec
"start a singleton instance for each data center" in {
runOn(first, second, third) {
system.actorOf(ClusterSingletonManager.props(Props[MultiDcSingleton](),
PoisonPill,
ClusterSingletonManagerSettings(system).withRole(worker)),
"singletonManager")
system.actorOf(
ClusterSingletonManager
.props(Props[MultiDcSingleton](), PoisonPill, ClusterSingletonManagerSettings(system).withRole(worker)),
"singletonManager")
}
val proxy = system.actorOf(
@ -113,8 +113,9 @@ abstract class MultiDcSingletonManagerSpec
"be able to use proxy across different data centers" in {
runOn(third) {
val proxy = system.actorOf(
ClusterSingletonProxy.props("/user/singletonManager",
ClusterSingletonProxySettings(system).withRole(worker).withDataCenter("one")))
ClusterSingletonProxy.props(
"/user/singletonManager",
ClusterSingletonProxySettings(system).withRole(worker).withDataCenter("one")))
proxy ! MultiDcSingleton.Ping
val pong = expectMsgType[MultiDcSingleton.Pong](10.seconds)
pong.fromDc should ===("one")