fix(性能测试): 修复预热时间单位固定后的最大值限制

This commit is contained in:
Captain.B 2021-07-22 14:49:44 +08:00 committed by 刘瑞斌
parent c0b3a961a5
commit 281be2083b
1 changed files with 1 additions and 1 deletions

View File

@ -454,7 +454,7 @@ export default {
tg.threadType === 'ITERATION') {
continue;
}
if (tg.duration < tg.rampUpTime) {
if (this.getDuration(tg) < tg.rampUpTime) {
tg.rampUpTime = tg.duration;
}
if (tg.rampUpTime < tg.step) {