trait FlightRecordingSupport extends AnyRef
Provides test framework agnostic methods to dump the artery flight recorder data after a test has completed - you must integrate the logic with the testing tool you use yourself.
The flight recorder must be enabled and the flight recorder destination must be an absolute file name so that the akka config can be used to find it. For example you could ensure a unique file per test using something like this in your config:
akka.remote.artery.advanced.flight-recorder { enabled=on destination=target/flight-recorder-${UUID.randomUUID().toString}.afr }
You need to hook in dump and deletion of files where it makes sense in your tests. (For example, dump after all tests has run and there was a failure and then delete)
- Self Type
- FlightRecordingSupport with MultiNodeSpec
- Source
- FlightRecordingSupport.scala
- Alphabetic
- By Inheritance
- FlightRecordingSupport
- AnyRef
- Any
- by any2stringadd
- by StringFormat
- by Ensuring
- by ArrowAssoc
- Hide All
- Show All
- Public
- All
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
def
+(other: String): String
- Implicit
- This member is added by an implicit conversion from FlightRecordingSupport to any2stringadd[FlightRecordingSupport] performed by method any2stringadd in scala.Predef.
- Definition Classes
- any2stringadd
-
def
->[B](y: B): (FlightRecordingSupport, B)
- Implicit
- This member is added by an implicit conversion from FlightRecordingSupport to ArrowAssoc[FlightRecordingSupport] performed by method ArrowAssoc in scala.Predef.
- Definition Classes
- ArrowAssoc
- Annotations
- @inline()
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
deleteFlightRecorderFile(): Unit
Delete flight the recorder file if it exists
Delete flight the recorder file if it exists
- Attributes
- protected
-
def
ensuring(cond: (FlightRecordingSupport) ⇒ Boolean, msg: ⇒ Any): FlightRecordingSupport
- Implicit
- This member is added by an implicit conversion from FlightRecordingSupport to Ensuring[FlightRecordingSupport] performed by method Ensuring in scala.Predef.
- Definition Classes
- Ensuring
-
def
ensuring(cond: (FlightRecordingSupport) ⇒ Boolean): FlightRecordingSupport
- Implicit
- This member is added by an implicit conversion from FlightRecordingSupport to Ensuring[FlightRecordingSupport] performed by method Ensuring in scala.Predef.
- Definition Classes
- Ensuring
-
def
ensuring(cond: Boolean, msg: ⇒ Any): FlightRecordingSupport
- Implicit
- This member is added by an implicit conversion from FlightRecordingSupport to Ensuring[FlightRecordingSupport] performed by method Ensuring in scala.Predef.
- Definition Classes
- Ensuring
-
def
ensuring(cond: Boolean): FlightRecordingSupport
- Implicit
- This member is added by an implicit conversion from FlightRecordingSupport to Ensuring[FlightRecordingSupport] performed by method Ensuring in scala.Predef.
- Definition Classes
- Ensuring
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
finalize(): Unit
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
def
formatted(fmtstr: String): String
- Implicit
- This member is added by an implicit conversion from FlightRecordingSupport to StringFormat[FlightRecordingSupport] performed by method StringFormat in scala.Predef.
- Definition Classes
- StringFormat
- Annotations
- @inline()
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
-
final
def
printFlightRecording(): Unit
Dump the contents of the flight recorder file to standard output
Dump the contents of the flight recorder file to standard output
- Attributes
- protected
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
def
→[B](y: B): (FlightRecordingSupport, B)
- Implicit
- This member is added by an implicit conversion from FlightRecordingSupport to ArrowAssoc[FlightRecordingSupport] performed by method ArrowAssoc in scala.Predef.
- Definition Classes
- ArrowAssoc