fix(测试计划): 修复测试计划发送通知时错误状态和误报状态没有统计数的问题
--bug=1021840 --user=刘瑞斌 【测试计划】测试计划定时任务通知,场景数量统计错误 https://www.tapd.cn/55049933/s/1325941
This commit is contained in:
parent
faf086f96b
commit
21f02f7cd2
|
@ -298,6 +298,7 @@ public class TestPlanMessageService {
|
||||||
result.put("apiCaseUnExecuteCount", v);
|
result.put("apiCaseUnExecuteCount", v);
|
||||||
break;
|
break;
|
||||||
case "errorreportresult":
|
case "errorreportresult":
|
||||||
|
case "fakeerror":
|
||||||
result.put("apiCaseErrorReportCount", v);
|
result.put("apiCaseErrorReportCount", v);
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
|
@ -318,12 +319,14 @@ public class TestPlanMessageService {
|
||||||
result.put("apiScenarioSuccessCount", v);
|
result.put("apiScenarioSuccessCount", v);
|
||||||
break;
|
break;
|
||||||
case "fail":
|
case "fail":
|
||||||
|
case "error":
|
||||||
result.put("apiScenarioFailedCount", v);
|
result.put("apiScenarioFailedCount", v);
|
||||||
break;
|
break;
|
||||||
case "unexecute":
|
case "unexecute":
|
||||||
result.put("apiScenarioUnExecuteCount", v);
|
result.put("apiScenarioUnExecuteCount", v);
|
||||||
break;
|
break;
|
||||||
case "errorreportresult":
|
case "errorreportresult":
|
||||||
|
case "fakeerror":
|
||||||
result.put("apiScenarioErrorReportCount", v);
|
result.put("apiScenarioErrorReportCount", v);
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
|
|
Loading…
Reference in New Issue