ChaosTestScenarioParameters(TimeSpan, Int64, Boolean, TimeSpan) Constructor
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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