不能同时运行测试

This commit is contained in:
Captain.B 2020-03-30 18:35:14 +08:00
parent c2daa8090e
commit 7805076040
1 changed files with 1 additions and 1 deletions

View File

@ -167,7 +167,7 @@ public class LoadTestService {
MSException.throwException(Translator.get("run_load_test_not_found") + request.getId()); MSException.throwException(Translator.get("run_load_test_not_found") + request.getId());
} }
if (TestStatus.Running.name().equals(loadTest.getStatus())) { if (TestStatus.Running.name().equals(loadTest.getStatus())) {
MSException.throwException(Translator.get("load_test_is_running") + request.getId()); MSException.throwException(Translator.get("load_test_is_running"));
} }
LogUtil.info("Load test started " + loadTest.getName()); LogUtil.info("Load test started " + loadTest.getName());