Remove-ServiceFabricTestState
Removes all test state data from a Service Fabric cluster.
Syntax
Remove-ServiceFabricTestState
[-TimeoutSec <Int32>]
[<CommonParameters>]
Description
The Remove-ServiceFabricTestState cmdlet removes all of the test state data from a Service Fabric cluster. You can use this cmdlet in the case of a bad shutdown of the test driver. Some actions set test state in the Service Fabric cluster, and if the process fails while in this state, it could leave the Service Fabric cluster unusable. The Remove-ServiceFabricTestState clears this test state data.
Before you perform any operation on a Service Fabric cluster, establish a connection to the cluster by using the Connect-ServiceFabricCluster cmdlet.
Examples
Example 1: Remove a Service Fabric test state
PS C:\> Remove-ServiceFabricTestState
This command removes the Service Fabric test state.
Parameters
-TimeoutSec
Specifies the time-out period, in seconds, for the operation.
Type: | Int32 |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Inputs
None
Outputs
System.Object