fix(接口测试): 暂时去除临界控制器

This commit is contained in:
fit2-zhao 2022-01-24 14:45:54 +08:00 committed by 刘瑞斌
parent 9b37318f55
commit a989395ae1
1 changed files with 1 additions and 2 deletions

View File

@ -8,7 +8,6 @@ import com.fasterxml.jackson.core.type.TypeReference;
import com.fasterxml.jackson.databind.DeserializationFeature;
import com.fasterxml.jackson.databind.ObjectMapper;
import io.metersphere.api.dto.EnvironmentType;
import io.metersphere.api.dto.definition.request.controller.MsCriticalSectionController;
import io.metersphere.api.dto.definition.request.variable.ScenarioVariable;
import io.metersphere.api.dto.mockconfig.MockConfigStaticData;
import io.metersphere.api.dto.scenario.KeyValue;
@ -159,7 +158,7 @@ public class MsScenario extends MsTestElement {
if (CollectionUtils.isNotEmpty(this.getVariables())) {
config.setVariables(this.variables);
}
final HashTree scenarioTree = MsCriticalSectionController.createHashTree(tree, this.getName());
final HashTree scenarioTree = tree;
// 场景变量和环境变量
Arguments arguments = arguments(config);
if (arguments != null) {