Merge remote-tracking branch 'origin/master'

This commit is contained in:
wenyann 2021-01-26 19:26:35 +08:00
commit 0b893278af
6 changed files with 9 additions and 5 deletions

View File

@ -95,7 +95,7 @@ public class DockerTestEngine extends AbstractEngine {
env.put("BOOTSTRAP_SERVERS", kafkaProperties.getBootstrapServers());
env.put("LOG_TOPIC", kafkaProperties.getLog().getTopic());
env.put("RESOURCE_ID", resource.getId());
env.put("THREAD_NUM", "" + threadNum);
env.put("THREAD_NUM", "0");// 传入0表示不用修改线程数
env.put("HEAP", jmeterProperties.getHeap());

View File

@ -50,6 +50,10 @@ public class JmeterFileService {
}
private void setThreadNum(LoadTestWithBLOBs t, Integer limit) {
// 传入limit才去改这个值
if (limit <= 0) {
return;
}
String loadConfiguration = t.getLoadConfiguration();
JSONArray jsonArray = JSON.parseArray(loadConfiguration);
for (int i = 0; i < jsonArray.size(); i++) {

@ -1 +1 @@
Subproject commit ed891ee7503cc1ca4679b4779a5c12e2ffee986d
Subproject commit bb9ad600f10ff2dd9c3d364a7b30b1926dc2a74f

View File

@ -222,7 +222,6 @@
}
if (this.$refs.apiConfig) {
this.$refs.apiConfig.forEach(item => {
console.log(item);
item.removeListener();
}); // tab ctrl + s
let tabs = this.apiTabs;

View File

@ -104,7 +104,8 @@
search() {
this.selectRows = new Set();
this.loading = true;
this.condition.filters = ["Prepare", "Underway", "Completed"];
this.condition.filters = {status: ["Prepare", "Underway", "Completed"]};
this.condition.moduleIds = this.selectNodeIds;

@ -1 +1 @@
Subproject commit 6d6ed5226849337876ecf55312aa6b5f13ba6472
Subproject commit 416645a24d941eb9727c07c19be70422c2e66cc7