You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently k6 doesn't properly validate the values in target and duration values in stages. Negative duration and target are allowed, with undefined behavior, when they should be forbidden. Also, a single stage with a duration of 0 (stages: [ { duration: 0, target: 5 } ],) causes a panic:
It's also unclear how well 0-duration stages (i.e. "suddenly jump up or down from X to Y active VUs") are supported - they should be, we just have to verify it and probably write some tests.
The text was updated successfully, but these errors were encountered:
Currently k6 doesn't properly validate the values in
target
andduration
values instages
. Negativeduration
andtarget
are allowed, with undefined behavior, when they should be forbidden. Also, a single stage with a duration of0
(stages: [ { duration: 0, target: 5 } ],
) causes a panic:It's also unclear how well 0-duration
stages
(i.e. "suddenly jump up or down from X to Y active VUs") are supported - they should be, we just have to verify it and probably write some tests.The text was updated successfully, but these errors were encountered: