Invoke-ServiceFabricChaosTestScenario
已過時。 請使用 Start-ServiceFabricChaos。
叫用測試案例,以引發叢集中的反復性容錯移轉和錯誤。
Syntax
Invoke-ServiceFabricChaosTestScenario
[-TimeToRunMinute] <UInt32>
[-MaxClusterStabilizationTimeoutSec] <UInt32>
[-WaitTimeBetweenIterationsSec <UInt32>]
[-WaitTimeBetweenFaultsSec <UInt32>]
[-MaxConcurrentFaults <UInt32>]
[-EnableMoveReplicaFaults]
[-TimeoutSec <Int32>]
[<CommonParameters>]
Description
此 Cmdlet 已過時 ,偏好 Start-ServiceFabricChaos。
參數
-EnableMoveReplicaFaults
表示此 Cmdlet 會啟用移動複本錯誤。
Type: | SwitchParameter |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-MaxClusterStabilizationTimeoutSec
指定在測試失敗之前,叢集在發生錯誤後穩定的最大逾時期間,以秒為單位。
Type: | UInt32 |
Position: | 1 |
Default value: | None |
Required: | True |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-MaxConcurrentFaults
指定並行錯誤的最大數目。
Type: | UInt32 |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-TimeoutSec
指定作業的逾時期間,以秒為單位。
Type: | Int32 |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-TimeToRunMinute
指定要執行案例的總時間,以分鐘為單位。
Type: | UInt32 |
Position: | 0 |
Default value: | None |
Required: | True |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-WaitTimeBetweenFaultsSec
指定連續錯誤之間的等候時間上限,以秒為單位。 值愈大,並行越低。
Type: | UInt32 |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-WaitTimeBetweenIterationsSec
指定反復專案之間持續時間的等候時間,以秒為單位。
Type: | UInt32 |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
輸入
None
輸出
System.Object