fix(UI 自动化): UI 测试不走资源池
--bug=1015629 --user=张大海 【测试跟踪】github#16553,测试计划关联 功能、ui、接口测试用例 ,执行完成之后接口测试成功了但是提示error ui测试不执行 https://www.tapd.cn/55049933/s/1218647
This commit is contained in:
parent
72c5523003
commit
8ad6a296b1
|
@ -185,7 +185,8 @@ public class JMeterService {
|
||||||
|
|
||||||
|
|
||||||
public void run(JmeterRunRequestDTO request) {
|
public void run(JmeterRunRequestDTO request) {
|
||||||
if (request.getPool().isPool()) {
|
//UI 测试只走本地 ms,资源池交给 selenium-grid 本身实现
|
||||||
|
if (request.getPool().isPool() && StringUtils.isNotBlank(request.getRunMode()) && !request.getRunMode().startsWith("UI")) {
|
||||||
this.runNode(request);
|
this.runNode(request);
|
||||||
} else {
|
} else {
|
||||||
CommonBeanFactory.getBean(ExecThreadPoolExecutor.class).addTask(request);
|
CommonBeanFactory.getBean(ExecThreadPoolExecutor.class).addTask(request);
|
||||||
|
|
Loading…
Reference in New Issue