Remove-​Service​Fabric​Test​State

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.

Optional Parameters

-TimeoutSec

Specifies the time-out period, in seconds, for the operation.

Type:Int32
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False

Inputs

Outputs

System.Object