fix(性能测试): 监控节点缓存的问题
This commit is contained in:
parent
2a62fc6a06
commit
db27da97bb
|
@ -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());
|
||||
|
|
Loading…
Reference in New Issue