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
|
|
@ -24,7 +24,7 @@ class AttemptSysMsgRedeliveryMultiJvmSpec(artery: Boolean) extends MultiNodeConf
|
|||
commonConfig(debugConfig(on = false).withFallback(
|
||||
ConfigFactory.parseString(s"""
|
||||
akka.remote.artery.enabled = $artery
|
||||
""")).withFallback(MultiNodeRemotingSpec.arteryFlightRecordingConf))
|
||||
""")).withFallback(RemotingMultiNodeSpec.arteryFlightRecordingConf))
|
||||
|
||||
testTransport(on = true)
|
||||
|
||||
|
|
@ -53,7 +53,7 @@ object AttemptSysMsgRedeliverySpec {
|
|||
}
|
||||
|
||||
abstract class AttemptSysMsgRedeliverySpec(multiNodeConfig: AttemptSysMsgRedeliveryMultiJvmSpec)
|
||||
extends MultiNodeRemotingSpec(multiNodeConfig) {
|
||||
extends RemotingMultiNodeSpec(multiNodeConfig) {
|
||||
import multiNodeConfig._
|
||||
import AttemptSysMsgRedeliverySpec._
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue