Reduce size of jenkins logs

Each build is now over 40mb logs.

A lot of DEBUG logging was left on for test failures that have been
fixed. Added an issue # for ones that are still valid or if if it on
as the test verifies debug
This commit is contained in:
Christopher Batey 2018-04-24 07:33:34 +01:00
parent 4b4a012250
commit 4d20b2a660
26 changed files with 20 additions and 38 deletions

View file

@ -22,7 +22,6 @@ object ActorsLeakSpec {
val config = ConfigFactory.parseString(
"""
| akka.actor.provider = remote
| #akka.loglevel = DEBUG
| akka.remote.netty.tcp.applied-adapters = ["trttl"]
| #akka.remote.log-lifecycle-events = on
| akka.remote.transport-failure-detector.heartbeat-interval = 1 s

View file

@ -634,7 +634,6 @@ class RemotingSpec extends AkkaSpec(RemotingSpec.cfg) with ImplicitSender with D
akka.remote.enabled-transports = ["akka.remote.test"]
akka.remote.retry-gate-closed-for = 5s
akka.remote.log-remote-lifecycle-events = on
#akka.loglevel = DEBUG
akka.remote.test {
registry-key = TRKAzR

View file

@ -64,7 +64,7 @@ akka.actor.provider = remote
akka.remote.untrusted-mode = on
akka.remote.trusted-selection-paths = ["/user/receptionist", ]
akka.remote.netty.tcp.port = 0
akka.loglevel = DEBUG
akka.loglevel = DEBUG # test verifies debug
""") with ImplicitSender {
import UntrustedSpec._
@ -140,13 +140,13 @@ akka.loglevel = DEBUG
receptionist ! StopChild("child2")
expectMsg("child2 stopped")
// no Terminated msg, since watch was discarded
expectNoMsg(1.second)
expectNoMessage(1.second)
}
"discard actor selection" in {
val sel = client.actorSelection(RootActorPath(address) / testActor.path.elements)
sel ! "hello"
expectNoMsg(1.second)
expectNoMessage(1.second)
}
"discard actor selection with non root anchor" in {
@ -157,25 +157,25 @@ akka.loglevel = DEBUG
val sel = ActorSelection(clientReceptionistRef, receptionist.path.toStringWithoutAddress)
sel ! "hello"
expectNoMsg(1.second)
expectNoMessage(1.second)
}
"discard actor selection to child of matching white list" in {
val sel = client.actorSelection(RootActorPath(address) / receptionist.path.elements / "child1")
sel ! "hello"
expectNoMsg(1.second)
expectNoMessage(1.second)
}
"discard actor selection with wildcard" in {
val sel = client.actorSelection(RootActorPath(address) / receptionist.path.elements / "*")
sel ! "hello"
expectNoMsg(1.second)
expectNoMessage(1.second)
}
"discard actor selection containing harmful message" in {
val sel = client.actorSelection(RootActorPath(address) / receptionist.path.elements)
sel ! PoisonPill
expectNoMsg(1.second)
expectNoMessage(1.second)
}
}

View file

@ -60,7 +60,7 @@ object UntrustedSpec {
"""
akka.remote.artery.untrusted-mode = on
akka.remote.artery.trusted-selection-paths = ["/user/receptionist", ]
akka.loglevel = DEBUG # the test is verifying some Debug logging
akka.loglevel = DEBUG # test verifies debug
"""
).withFallback(ArterySpecSupport.defaultConfig)

View file

@ -258,8 +258,6 @@ class CompressionIntegrationSpec extends ArteryMultiNodeSpec(CompressionIntegrat
"wrap around" in {
val extraConfig =
"""
akka.loglevel = DEBUG
akka.remote.artery.advanced.compression {
actor-refs.advertisement-interval = 100 millis
manifests.advertisement-interval = 10 minutes

View file

@ -61,7 +61,6 @@ object TlsTcpSpec {
lazy val config: Config = {
ConfigFactory.parseString(s"""
akka.loglevel = DEBUG
akka.remote.artery {
transport = tls-tcp
large-message-destinations = [ "/user/large" ]