apex test class 中止

List<ApexTestQueueItem> items = [Select Id,ApexClassId,Status,ExtendedStatus,ParentJobId from ApexTestQueueItem where Status != 'Completed']; for(ApexTestQueueItem atqi : items) { atqi.Status = 'ABORTED'; } update items;

参考:
https://help.salesforce.com/s/articleView?id=000384395&type=1