fix(测试计划): 修复测试计划发送通知时未执行状态没有统计数的问题
--bug=1021840 --user=刘瑞斌 【测试计划】测试计划定时任务通知,场景数量统计错误 https://www.tapd.cn/55049933/s/1325941
This commit is contained in:
parent
438d54bb3f
commit
e152243496
|
@ -295,10 +295,14 @@ public class TestPlanMessageService {
|
|||
result.put("apiCaseFailedCount", v);
|
||||
break;
|
||||
case "default":
|
||||
case "pending":
|
||||
case "stopped":
|
||||
case "timeout":
|
||||
result.put("apiCaseUnExecuteCount", v);
|
||||
break;
|
||||
case "errorreportresult":
|
||||
case "fakeerror":
|
||||
case "fake_error":
|
||||
result.put("apiCaseErrorReportCount", v);
|
||||
break;
|
||||
default:
|
||||
|
@ -324,10 +328,13 @@ public class TestPlanMessageService {
|
|||
break;
|
||||
case "unexecute":
|
||||
case "pending":
|
||||
case "stopped":
|
||||
case "timeout":
|
||||
result.put("apiScenarioUnExecuteCount", v);
|
||||
break;
|
||||
case "errorreportresult":
|
||||
case "fakeerror":
|
||||
case "fake_error":
|
||||
result.put("apiScenarioErrorReportCount", v);
|
||||
break;
|
||||
default:
|
||||
|
|
Loading…
Reference in New Issue