Fix artery test file leak #21484
* Include actor system name in artery dir path to ease debugging leaks * Base class name changed to make actor system autonaming work * Add shutdown hook directly in transport start * Wait for completion in shutdown hook (actual leak fix)
This commit is contained in:
parent
133bafdf04
commit
a939e30b49
28 changed files with 78 additions and 88 deletions
|
|
@ -18,7 +18,7 @@ class LookupRemoteActorMultiJvmSpec(artery: Boolean) extends MultiNodeConfig {
|
|||
commonConfig(debugConfig(on = false).withFallback(
|
||||
ConfigFactory.parseString(s"""
|
||||
akka.remote.artery.enabled = $artery
|
||||
""")).withFallback(MultiNodeRemotingSpec.arteryFlightRecordingConf))
|
||||
""")).withFallback(RemotingMultiNodeSpec.arteryFlightRecordingConf))
|
||||
|
||||
val master = role("master")
|
||||
val slave = role("slave")
|
||||
|
|
@ -40,7 +40,7 @@ object LookupRemoteActorSpec {
|
|||
}
|
||||
|
||||
abstract class LookupRemoteActorSpec(multiNodeConfig: LookupRemoteActorMultiJvmSpec)
|
||||
extends MultiNodeRemotingSpec(multiNodeConfig) {
|
||||
extends RemotingMultiNodeSpec(multiNodeConfig) {
|
||||
import multiNodeConfig._
|
||||
import LookupRemoteActorSpec._
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue