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:
Johan Andrén 2016-09-19 13:22:54 +02:00 committed by GitHub
parent 133bafdf04
commit a939e30b49
28 changed files with 78 additions and 88 deletions

View file

@ -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)
}
}