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