Share via


test cancel

 

Applies To: Microsoft HPC Pack 2012, Microsoft HPC Pack 2012 R2

Cancels the specified diagnostic test run if it is still running.

For examples of how to use this command, see Examples.

Syntax

test cancel <test_run_identifier> [/server:<server_name>]

test cancel {/? | /help}

Parameters

Parameter

Description

<test_run_identifier>

Specifies the identifier of the diagnostic test run that you want to cancel.

/server:<server_name>

Specifies the host name or IP address of the server that hosts the HPC Diagnostics Service for the HPC cluster that is running the diagnostic test that you want to cancel. The value must be a valid computer name or IP address. If you do not specify the /server parameter, this command uses the head node that the CCP_SCHEDULER environment variable specifies.

/?

Displays Help at the command prompt.

/help

Displays Help at the command prompt.

Remarks

  • When you start a diagnostic test with the test run command, the command displays the test run identifier if the command succeeds.

  • To get a list of diagnostic tests run for the HPC cluster, use the test listruns command.

  • If the specified test run is no longer running, an error message appears.

  • You must be a cluster administrator to run this command successfully.

Examples

To cancel the test run with an identifier of 28, type:

test cancel 28

Additional references