Update scalariform (#23778) (#23783)

This commit is contained in:
Arnout Engelen 2017-10-06 10:30:28 +02:00 committed by GitHub
parent 63ccdeec16
commit b1df13d4d4
221 changed files with 1528 additions and 1580 deletions

View file

@ -7,4 +7,4 @@ class RemoteActorMailboxSpec extends ActorMailboxSpec(
ConfigFactory.parseString("""akka.actor.provider = remote""").
withFallback(ActorMailboxSpec.mailboxConf)) {
}
}

View file

@ -15,7 +15,7 @@ class RemoteConsistentHashingRouterSpec extends AkkaSpec("""
"ConsistentHashingGroup" must {
"use same hash ring indepenent of self address" in {
// simulating running router on two different nodes (a1, a2) with target routees on 3 other nodes (s1, s2, s3)
// simulating running router on two different nodes (a1, a2) with target routees on 3 other nodes (s1, s2, s3)
val a1 = Address("akka.tcp", "Sys", "client1", 2552)
val a2 = Address("akka.tcp", "Sys", "client2", 2552)
val s1 = ActorSelectionRoutee(system.actorSelection("akka.tcp://Sys@server1:2552/user/a/b"))

View file

@ -62,7 +62,7 @@ akka {
}).withDeploy(Deploy.local))
expectMsg(20.seconds, ref)
// we don't expect real quarantine when the UID is unknown, i.e. QuarantinedEvent is not published
// we don't expect real quarantine when the UID is unknown, i.e. QuarantinedEvent is not published
probe.expectNoMsg(3.seconds)
// The following verifies ticket #3870, i.e. make sure that re-delivery of Watch message is stopped.
// It was observed as periodic logging of "address is now gated" when the gate was lifted.

View file

@ -41,8 +41,8 @@ abstract class ArteryMultiNodeSpec(config: Config) extends AkkaSpec(config.withF
ArterySpecSupport.newFlightRecorderConfig.withFallback(extraConfig.fold(
localSystem.settings.config
)(
str ConfigFactory.parseString(str).withFallback(localSystem.settings.config)
))
str ConfigFactory.parseString(str).withFallback(localSystem.settings.config)
))
val remoteSystem = ActorSystem(name.getOrElse(nextGeneratedSystemName), config)
remoteSystems = remoteSystems :+ remoteSystem

View file

@ -117,8 +117,8 @@ class HeavyHittersSpec extends WordSpecLike with Matchers {
val hitters = new TopHeavyHitters[String](2)
hitters.update("A", 1) should ===(true)
hitters.update("B", 2) should ===(true)
hitters.update("C", 3) should ===(true) // A was dropped now
hitters.update("A", 10) should ===(true) // TODO this is technically unexpected, we have already compressed A...
hitters.update("C", 3) should ===(true) // A was dropped now
hitters.update("A", 10) should ===(true) // TODO this is technically unexpected, we have already compressed A...
}
"allow updating entries that have lower weight than the least known weight if there is capacity anyway" in {

View file

@ -161,4 +161,4 @@ abstract class GenericTransportSpec(withAkkaProtocol: Boolean = false)
}
}
}
}