fix(性能测试): 修复预热时间单位固定后的最大值限制
This commit is contained in:
parent
c0b3a961a5
commit
281be2083b
|
@ -454,7 +454,7 @@ export default {
|
||||||
tg.threadType === 'ITERATION') {
|
tg.threadType === 'ITERATION') {
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
if (tg.duration < tg.rampUpTime) {
|
if (this.getDuration(tg) < tg.rampUpTime) {
|
||||||
tg.rampUpTime = tg.duration;
|
tg.rampUpTime = tg.duration;
|
||||||
}
|
}
|
||||||
if (tg.rampUpTime < tg.step) {
|
if (tg.rampUpTime < tg.step) {
|
||||||
|
|
Loading…
Reference in New Issue