fix(性能测试): 监控节点缓存的问题

This commit is contained in:
Captain.B 2021-08-30 16:15:22 +08:00 committed by 刘瑞斌
parent 2a62fc6a06
commit db27da97bb
1 changed files with 0 additions and 3 deletions

View File

@ -45,9 +45,6 @@ public class ConsulService {
resourcePoolRequest.setStatus(ResourceStatusEnum.VALID.name());
List<TestResourcePoolDTO> testResourcePoolDTOS = testResourcePoolService.listResourcePools(resourcePoolRequest);
QueryTestPlanRequest request = new QueryTestPlanRequest();
request.setFilters(new HashMap<String, List<String>>() {{
put("status", Arrays.asList(PerformanceTestStatus.Starting.name(), PerformanceTestStatus.Running.name()));
}});
List<LoadTestDTO> list = performanceTestService.list(request);
for (LoadTestDTO loadTestDTO : list) {
String advancedConfiguration = performanceTestService.getAdvancedConfiguration(loadTestDTO.getId());