forked from TrueCloudLab/xk6-frostfs
fix errors
Signed-off-by: Мария Малыгина <m.malygina@yadro.com>
This commit is contained in:
parent
87f5f771bc
commit
fa62446fba
1 changed files with 2 additions and 4 deletions
|
@ -36,14 +36,12 @@ const generator = datagen.generator(1024 * parseInt(__ENV.WRITE_OBJ_SIZE), __ENV
|
|||
|
||||
const scenarios = {};
|
||||
|
||||
const write_vu_count = parseInt(__ENV.WRITERS || '0');
|
||||
// write parts in parallel
|
||||
const write_multipart_vu_count = parseInt(__ENV.WRITERS_MULTIPART || '0');
|
||||
|
||||
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');
|
||||
if (write_vu_count > 0) {
|
||||
scenarios.write = {
|
||||
executor: 'constant-vus',
|
||||
|
|
Loading…
Reference in a new issue