Thank you for your feedback.
Form temporarily unavailable. Please try again or contact docfeedback@servicenow.com to submit your comments.

Mutually exclusive tests

Log in to subscribe to topics and get notified when content changes.

Mutually exclusive tests

Prevent conflicting tests from running in parallel by marking them as mutually exclusive. For example, when the system identifies tests that modify the same record, the system makes these tests mutually exclusive. You can also manually mark tests as mutually exclusive.

The system marks tests as mutually exclusive when there is a potential resource conflict. When the system can't detect resource conflicts automatically, you can create your own mutual exclusion rules that can prevent conflicting tests from running in parallel.

You can view mutually exclusive tests on the Mutually Exclusive Tests related list in the test form. This related list shows all tests that don't run in parallel with the current test and the reason. The same test might appear more than once in the list if there are multiple reasons.

Mutually exclusive tests reasons

Tests are marked mutually exclusive for the following reasons.
  • Two or more tests modify the same record.
  • A test that runs in parallel with itself.
  • You can create your own mutual exclusion rules when the system can’t detect resource conflicts automatically.

Mark tests as mutually exclusive

You can mark tests as mutually exclusive using any of the following methods.
Mutually Exclusive Tests tab
Select a test from the Tests list and navigate to Mutually Exclusive Tests > Add Mutual Exclusion to make the selected test mutually exclusive with another test.
Tests list
Select one or more tests from the Tests list and choose Add mutually exclusive test from the Action on selected rows context menu. Enter one test in the Add mutually exclusive test dialog box to make the selected tests mutually exclusive with the current test.
Parallel Test Runs tab
When two or more tests run in parallel, navigate to Test Results > Parallel Test Runs. Select one or more tests and choose Add mutually exclusive test from the Action on selected rows context menu to mark the selected tests as mutually exclusive.
Note: The Parallel Test Runs tab is visible only if the test runs in parallel with one or more tests.
Feedback