fix(接口测试): 修复未执行成功的接口状态未更新问题
--bug=1023308 --user=赵勇 【接口测试】之前执行是stopped的接口,现在执行一直running https://www.tapd.cn/55049933/s/1338797
This commit is contained in:
parent
cb6d7ae8ce
commit
9e608e8b41
|
@ -23,7 +23,6 @@ public class RemakeReportService {
|
|||
BeanUtils.copyBean(dto, request);
|
||||
dto.setQueueId(request.getQueueId());
|
||||
dto.setTestId(request.getTestId());
|
||||
dto.setRemake(true);
|
||||
LoggerUtil.info("进入异常结果处理:" + dto.getRunMode() + " 整体处理完成", dto.getReportId());
|
||||
// 全局并发队列
|
||||
PoolExecBlockingQueueUtil.offer(dto.getReportId());
|
||||
|
|
|
@ -263,7 +263,7 @@ public class TestResultService {
|
|||
sendTask(reportTask, dto.getTestId());
|
||||
}
|
||||
}
|
||||
} else if (apiRunModes.contains(dto.getRunMode()) && dto.isRemake()) {
|
||||
} else if (apiRunModes.contains(dto.getRunMode())) {
|
||||
// 只处理RUNNING中的执行报告
|
||||
updateRunningResult(dto);
|
||||
}
|
||||
|
|
|
@ -245,7 +245,6 @@ export default {
|
|||
},
|
||||
save() {
|
||||
this.$refs.environmentEdit.save();
|
||||
this.$emit('saveRefresh');
|
||||
},
|
||||
close() {
|
||||
this.$emit('close');
|
||||
|
@ -266,6 +265,7 @@ export default {
|
|||
},
|
||||
refresh() {
|
||||
this.getEnvironments();
|
||||
this.$emit('saveRefresh');
|
||||
},
|
||||
}
|
||||
}
|
||||
|
|
|
@ -17,7 +17,6 @@ public class ResultDTO {
|
|||
private String runType;
|
||||
private String console;
|
||||
private String runningDebugSampler;
|
||||
private boolean isRemake;
|
||||
// 失败重试
|
||||
private boolean retryEnable;
|
||||
/**
|
||||
|
|
Loading…
Reference in New Issue