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
In v0.26.2 it was possible to scale maxVUs arbitrarily using the REST API or the helper scale -m command.
On the current new-schedulers branch (2f150f2), it's only possible to scale maxVUs up, but not back down, and no errors are returned when attempting to do so.
It should be possible to scale maxVUs down to the initial maxVUs setting.
Trying to scale maxVUs below the initial maxVUs setting should return an error. This is a slight breaking change from 1007 in order to allow VU sharing between executors.
Actual Behavior
k6 scale -m N where N is below the currently set maxVUs value (whether that was the initial value or one scaled up to with k6 scale -m previously) is silently ignored, and the executor remains with the previous value.
In v0.26.2 it was possible to scale
maxVUs
arbitrarily using the REST API or the helperscale -m
command.On the current
new-schedulers
branch (2f150f2), it's only possible to scalemaxVUs
up, but not back down, and no errors are returned when attempting to do so.Environment
new-schedulers
(2f150f2)Expected Behavior
maxVUs
down to the initialmaxVUs
setting.maxVUs
below the initialmaxVUs
setting should return an error. This is a slight breaking change from 1007 in order to allow VU sharing between executors.Actual Behavior
k6 scale -m N
whereN
is below the currently setmaxVUs
value (whether that was the initial value or one scaled up to withk6 scale -m
previously) is silently ignored, and the executor remains with the previous value.Steps to Reproduce the Problem
script.js
:k6 run script.js
.k6 scale -m 50
. Note thevus-max: "50"
in the output.k6 scale -m 20
. Note thatvus-max
remains at50
.k6 scale -m 10
. Note thatvus-max
remains at50
and no error is returned.Also, make sure that the behavior of
scale -u
is also consistent, and returns errors in the same way as v0.26.2.The text was updated successfully, but these errors were encountered: