ChaosTestScenarioParameters(TimeSpan, Int64, Boolean, TimeSpan) Constructor

Definition

Initializes a new instance of the ChaosTestScenarioParameters class.

public ChaosTestScenarioParameters (TimeSpan maxClusterStabilizationTimeout, long maxConcurrentFaults, bool enableMoveReplicaFaults, TimeSpan timeToRun);
new System.Fabric.Testability.Scenario.ChaosTestScenarioParameters : TimeSpan * int64 * bool * TimeSpan -> System.Fabric.Testability.Scenario.ChaosTestScenarioParameters
Public Sub New (maxClusterStabilizationTimeout As TimeSpan, maxConcurrentFaults As Long, enableMoveReplicaFaults As Boolean, timeToRun As TimeSpan)

Parameters

maxClusterStabilizationTimeout
TimeSpan

The maximum amount of time to wait for the entire cluster to stabilize after a fault iteration before failing the test.

maxConcurrentFaults
Int64

Maximum number of concurrent faults induced per iteration with the lowest being 1. The higher the concurrency the more aggressive the failovers thus inducing more complex series of failures to uncover bugs. using 2 or 3 for this is recommended.

enableMoveReplicaFaults
Boolean

Enables or disables the MovePrimary and MoveSecondary faults.

timeToRun
TimeSpan

Applies to