Skip to main content

ApplicationOptions.ShutdownTimeout property

How long DisposeAsync waits for the application to stop before stopping it by force. Defaults to 10 seconds.

public TimeSpan ShutdownTimeout { get; init; }

Remarks​

When the wait runs out, the processes the test started are terminated and DisposeAsync throws TimeoutException. The value must be greater than zero.

See Also​