Test instances are generated when you test auto triggered nodes. You can manage test instances.

Go to the Test Instance page

  1. Log on to the DataWorks console.
  2. In the left-side navigation pane, click Workspaces.
  3. Find the required workspace and click Data Analytics.
  4. Click the Icon icon in the upper-left corner and choose All Products > Operation Center.
  5. In the left-side navigation pane, choose Cycle Task Maintenance > Test Instance. You can view the list and directed acyclic graphs (DAGs) of test instances.

Test instance list

You can manage test instances in the instance list. For example, you can rerun, freeze, or unfreeze instances, set the status to Successful, view the lineage, and check operational logs.

Operation Description
Filter Find required instances by setting filter conditions in the section marked with 1 in the preceding figure.

You can search for instances by node name or node ID and set filter conditions such as Owner, Run At, Data Timestamp, Status, Region, Engine type, Engine instance, Baseline, My Nodes, Tested by Me Today, and Frozen.

Stop Stop the instance. You can stop an instance only when it is in the Pending or Running state. After you perform this operation, the instance enters the Failed state.
Rerun Rerun the instance. After the instance is rerun, its pending descendant instances are run as scheduled. Perform this operation if an instance fails or it is not run as scheduled.
Note Only instances in the Successful or Failed state can be rerun.
More Click More in the Actions column and then select an operation. The operations include Set Status to Successful, Freeze, Unfreeze, View Lineage, and View Runtime Log.
Batch operations Click a button in the section marked with 3 in the preceding figure to perform batch operations. The buttons include Stop, Rerun, Set Status to Successful, Freeze, and Unfreeze.

Test instance DAG

Click the name of an instance or DAG in the Actions column to view the DAG of the instance. In the DAG, you can right-click the instance to perform related operations.

Operation Description
View Runtime Log Allow you to view the operational logs of the current instance if it is in the Running, Successful, or Failed state.
View Code Allow you to view the code of the current instance.
Edit Node Click this menu item to go to the DataStudio page to modify the current node.
View Lineage Allow you to view the lineage of the current instance.
Stop Stop the instance. You can stop an instance only when it is in the Pending or Running state. After you perform this operation, the instance enters the Failed state.
Rerun Rerun the instance. After the instance is rerun, its pending descendant instances are run as scheduled. Perform this operation if an instance fails or it is not run as scheduled.
Note Only instances in the Successful or Failed state can be rerun.
Set Status to Successful Set the status of the instance to Successful and run its pending descendant instances. Perform this operation if an instance fails.
Note Only the status of a failed instance can be set to Successful. This operation does not apply to workflows.
Freeze Freeze the current node and pause the scheduling of the node.
Unfreeze Unfreeze the frozen instance.
  • If the instance is not run, this instance is run automatically after its ancestor instances are run.
  • If all the ancestor instances are run, the status of the instance is directly set to Failed. You must manually rerun the instance.