Click or drag to resize
Akka.NETTestKitBaseShutdown 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
)

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
ExceptionCondition
TimeoutExceptionTBD
See Also