fix(测试跟踪): 修复测试计划执行选择环境组后没生效的缺陷
--bug=1018939 --user=王孝刚 【测试跟踪】测试计划执行,选择环境组后没生效 https://www.tapd.cn/55049933/s/1278687
This commit is contained in:
parent
5a3dd75415
commit
d60c983422
|
@ -1518,7 +1518,7 @@ public class TestPlanService {
|
||||||
if (StringUtils.equals(envType, "JSON") && !envMap.isEmpty()) {
|
if (StringUtils.equals(envType, "JSON") && !envMap.isEmpty()) {
|
||||||
runModeConfig.setEnvMap(testplanRunRequest.getEnvMap());
|
runModeConfig.setEnvMap(testplanRunRequest.getEnvMap());
|
||||||
this.setPlanCaseEnv(testPlanId, runModeConfig);
|
this.setPlanCaseEnv(testPlanId, runModeConfig);
|
||||||
} else if (StringUtils.equals(envType, "JSON") && StringUtils.isNotBlank(environmentGroupId)) {
|
} else if (StringUtils.equals(envType, "GROUP") && StringUtils.isNotBlank(environmentGroupId)) {
|
||||||
runModeConfig.setEnvironmentGroupId(testplanRunRequest.getEnvironmentGroupId());
|
runModeConfig.setEnvironmentGroupId(testplanRunRequest.getEnvironmentGroupId());
|
||||||
this.setPlanCaseEnv(testPlanId, runModeConfig);
|
this.setPlanCaseEnv(testPlanId, runModeConfig);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue