fix(测试计划): 接口用例结果有时无法查看
This commit is contained in:
parent
95e0e1921c
commit
2f6c9a35f1
|
@ -224,7 +224,7 @@ public class ApiDefinitionExecResultService {
|
||||||
public void saveApiResultByScheduleTask(TestResult result, String testPlanReportId, String type) {
|
public void saveApiResultByScheduleTask(TestResult result, String testPlanReportId, String type) {
|
||||||
testPlanLog.info("TestPlanReportId[" + testPlanReportId + "] APICASE OVER.");
|
testPlanLog.info("TestPlanReportId[" + testPlanReportId + "] APICASE OVER.");
|
||||||
String saveResultType = type;
|
String saveResultType = type;
|
||||||
if (StringUtils.equalsAny(saveResultType, ApiRunMode.SCHEDULE_API_PLAN.name(), ApiRunMode.JENKINS_API_PLAN.name())) {
|
if (StringUtils.equalsAny(saveResultType, ApiRunMode.SCHEDULE_API_PLAN.name(), ApiRunMode.JENKINS_API_PLAN.name(), ApiRunMode.MANUAL_PLAN.name())) {
|
||||||
saveResultType = ApiRunMode.API_PLAN.name();
|
saveResultType = ApiRunMode.API_PLAN.name();
|
||||||
}
|
}
|
||||||
String finalSaveResultType = saveResultType;
|
String finalSaveResultType = saveResultType;
|
||||||
|
|
Loading…
Reference in New Issue