FailoverTestScenario Class
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.
Caution
This class is deprecated. Please use Chaos instead https://docs.microsoft.com/azure/service-fabric/service-fabric-controlled-chaos
The FailoverTestScenario is a test which runs a series of faults against a specific partition defined by the PartitionSelector in the FailoverTestScenarioParameters.
[System.Obsolete("This class is deprecated. Please use Chaos instead https://docs.microsoft.com/azure/service-fabric/service-fabric-controlled-chaos")]
public sealed class FailoverTestScenario : System.Fabric.Testability.Scenario.TestScenario
[<System.Obsolete("This class is deprecated. Please use Chaos instead https://docs.microsoft.com/azure/service-fabric/service-fabric-controlled-chaos")>]
type FailoverTestScenario = class
inherit TestScenario
Public NotInheritable Class FailoverTestScenario
Inherits TestScenario
- Inheritance
- Attributes
Remarks
The faults induced put the partition through some specific failover scenarios to ensure those paths are tested and exercised. Running your workload against the service at the same time as the test being run will increase the chances of inducing and discovering bugs with the service. The faults induced for the Primary, Secondaries and stateless instances are RestartReplica(only persisted), RemoveReplica, ResartDeployedCodePackage, MovePrimary (only stateful), MoveSecondary (Only stateful), MoveInstance (Only stateless), RestartPartition (no data loss), MoveAuxiliary (Only stateful persisted).
Constructors
FailoverTestScenario(FabricClient, FailoverTestScenarioParameters) |
Fields
ProgressChanged | (Inherited from TestScenario) |
Properties
FabricClient | (Inherited from TestScenario) |
ScenarioParameters | (Inherited from TestScenario) |
Methods
Dispose() | (Inherited from TestScenario) |
ExecuteAsync(CancellationToken) | (Inherited from TestScenario) |
GetElapsedTime() | (Inherited from TestScenario) |
HandleTaskComplete(Task, String, String) | (Inherited from TestScenario) |
OnDispose(Boolean) | (Inherited from TestScenario) |
OnExecuteAsync(CancellationToken) | (Inherited from TestScenario) |
ReportProgress(String, Object[]) | (Inherited from TestScenario) |
ReportProgress(String) | (Inherited from TestScenario) |
ValidateScenarioAtExitAsync(CancellationToken) | (Inherited from TestScenario) |