| TestKitBaseShutdown Method (ActorSystem, NullableTimeSpan, Boolean) |
Shuts down the specified system.
On failure debug output will be logged about the remaining actors in the system.
If verifySystemShutdown is true, then an exception will be thrown on failure.
Namespace:
Akka.TestKit
Assembly:
Akka.TestKit (in Akka.TestKit.dll) Version: 1.2.3.129 (1.2.3.129)
Syntax protected virtual void Shutdown(
ActorSystem system,
Nullable<TimeSpan> duration = null,
bool verifySystemShutdown = false
)
abstract Shutdown :
system : ActorSystem *
?duration : Nullable<TimeSpan> *
?verifySystemShutdown : bool
(* Defaults:
let _duration = defaultArg duration null
let _verifySystemShutdown = defaultArg verifySystemShutdown false
*)
-> unit
override Shutdown :
system : ActorSystem *
?duration : Nullable<TimeSpan> *
?verifySystemShutdown : bool
(* Defaults:
let _duration = defaultArg duration null
let _verifySystemShutdown = defaultArg verifySystemShutdown false
*)
-> unit
Parameters
- system
- Type: Akka.ActorActorSystem
The system to shutdown. - duration (Optional)
- Type: SystemNullableTimeSpan
The duration to wait for shutdown. Default is 5 seconds multiplied with the config value "akka.test.timefactor" - verifySystemShutdown (Optional)
- Type: SystemBoolean
if set to true an exception will be thrown on failure.
Exceptions See Also