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
|
|
@ -46,7 +46,7 @@ trait FlightRecordingSupport { self: MultiNodeSpec ⇒
|
|||
final protected def printFlightRecording(): Unit = {
|
||||
if (arteryEnabled && destinationIsValidForDump() && Files.exists(flightRecorderFile)) {
|
||||
// use stdout/println as we do not know if the system log is alive
|
||||
println("Flight recorder dump:")
|
||||
println(s"Flight recorder dump from '$flightRecorderFile':")
|
||||
FlightRecorderReader.dumpToStdout(flightRecorderFile)
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue