共用方式為


ChaosTestScenarioParameters Class

Definition

Caution

This class is deprecated. Please use System.Fabric.Chaos.DataStructures.ChaosParameters instead.

This class defines all the test parameters to configure the ChaosTestScenario.

[System.Obsolete("This class is deprecated. Please use System.Fabric.Chaos.DataStructures.ChaosParameters instead.")]
[System.Serializable]
public class ChaosTestScenarioParameters : System.Fabric.Testability.Scenario.TestScenarioParameters
[<System.Obsolete("This class is deprecated. Please use System.Fabric.Chaos.DataStructures.ChaosParameters instead.")>]
[<System.Serializable>]
type ChaosTestScenarioParameters = class
    inherit TestScenarioParameters
Public Class ChaosTestScenarioParameters
Inherits TestScenarioParameters
Inheritance
ChaosTestScenarioParameters
Attributes

Constructors

ChaosTestScenarioParameters(TimeSpan, Int64, Boolean, TimeSpan)

Initializes a new instance of the ChaosTestScenarioParameters class.

Properties

MaxClusterStabilizationTimeout

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

TimeToRun

Total time for which the scenario will run before ending.

(Inherited from TestScenarioParameters)
WaitTimeBetweenFaults

The maximum wait time between consecutive faults: the larger the value, the lower the concurrency (of faults).

(Inherited from TestScenarioParameters)
WaitTimeBetweenIterations

Wait time between two iterations for a random duration bound by this value.

Applies to