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
Applies to
Azure SDK for .NET
피드백
https://aka.ms/ContentUserFeedback
출시 예정: 2024년 내내 콘텐츠에 대한 피드백 메커니즘으로 GitHub 문제를 단계적으로 폐지하고 이를 새로운 피드백 시스템으로 바꿀 예정입니다. 자세한 내용은 다음을 참조하세요.다음에 대한 사용자 의견 제출 및 보기