Do not init data generator for read-only scenarios #117

Merged
fyrchik merged 3 commits from fyrchik/xk6-frostfs:disable-generator into master 2024-09-04 19:51:18 +00:00
4 changed files with 4 additions and 4 deletions
Showing only changes of commit 278b234753 - Show all commits

View file

@ -63,7 +63,7 @@ if (registry_enabled) {
)
}
const generator = datagen.generator(1024 * parseInt(__ENV.WRITE_OBJ_SIZE));
const generator = datagen.generator(1024 * parseInt(__ENV.WRITE_OBJ_SIZE), __ENV.PAYLOAD_TYPE || "");
const scenarios = {};

View file

@ -47,7 +47,7 @@ if (registry_enabled && delete_age) {
);
}
const generator = datagen.generator(1024 * parseInt(__ENV.WRITE_OBJ_SIZE));
const generator = datagen.generator(1024 * parseInt(__ENV.WRITE_OBJ_SIZE), __ENV.PAYLOAD_TYPE || "");
const scenarios = {};

View file

@ -62,7 +62,7 @@ if (registry_enabled) {
)
}
const generator = datagen.generator(1024 * parseInt(__ENV.WRITE_OBJ_SIZE));
const generator = datagen.generator(1024 * parseInt(__ENV.WRITE_OBJ_SIZE), __ENV.PAYLOAD_TYPE || "");
const scenarios = {};

View file

@ -61,7 +61,7 @@ if (registry_enabled) {
const duration = __ENV.DURATION;
const generator = datagen.generator(1024 * parseInt(__ENV.WRITE_OBJ_SIZE));
const generator = datagen.generator(1024 * parseInt(__ENV.WRITE_OBJ_SIZE), __ENV.PAYLOAD_TYPE || "");
const scenarios = {};