fix errors
Signed-off-by: Мария Малыгина <m.malygina@yadro.com>
This commit is contained in:
parent
fa62446fba
commit
bed778da1a
1 changed files with 3 additions and 0 deletions
|
@ -42,6 +42,9 @@ if (write_multipart_vu_count < 1) {
|
||||||
throw 'number of parts to upload in parallel should be greater than 0';
|
throw 'number of parts to upload in parallel should be greater than 0';
|
||||||
}
|
}
|
||||||
const write_vu_count = parseInt(__ENV.WRITERS || '0');
|
const write_vu_count = parseInt(__ENV.WRITERS || '0');
|
||||||
|
if (write_vu_count < 1) {
|
||||||
|
throw 'number of VUs performing write operations should be greater than 0';
|
||||||
|
}
|
||||||
if (write_vu_count > 0) {
|
if (write_vu_count > 0) {
|
||||||
scenarios.write = {
|
scenarios.write = {
|
||||||
executor: 'constant-vus',
|
executor: 'constant-vus',
|
||||||
|
|
Loading…
Add table
Reference in a new issue