| TestKitBaseShutdown Method (NullableTimeSpan, Boolean) |
Shuts down this 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 public virtual void Shutdown(
Nullable<TimeSpan> duration = null,
bool verifySystemShutdown = false
)
abstract Shutdown :
?duration : Nullable<TimeSpan> *
?verifySystemShutdown : bool
(* Defaults:
let _duration = defaultArg duration null
let _verifySystemShutdown = defaultArg verifySystemShutdown false
*)
-> unit
override Shutdown :
?duration : Nullable<TimeSpan> *
?verifySystemShutdown : bool
(* Defaults:
let _duration = defaultArg duration null
let _verifySystemShutdown = defaultArg verifySystemShutdown false
*)
-> unit
Parameters
- duration (Optional)
- Type: SystemNullableTimeSpan
Optional. 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.
See Also