forked from TrueCloudLab/xk6-frostfs
add logs to delete
Signed-off-by: m.malygina <m.malygina@yadro.com>
parent
34542788b8
commit
3bdc45005f
|
@ -73,9 +73,8 @@ if (write_vu_count > 0) {
|
||||||
|
|
||||||
const delete_age = __ENV.DELETE_AGE ? parseInt(__ENV.DELETE_AGE) : undefined;
|
const delete_age = __ENV.DELETE_AGE ? parseInt(__ENV.DELETE_AGE) : undefined;
|
||||||
let obj_to_delete_selector = undefined;
|
let obj_to_delete_selector = undefined;
|
||||||
let obj_to_delete_exit_on_null = undefined;
|
let obj_to_delete_exit_on_null = __ENV.DELETE_DONT_EXIT_ON_NULL? __ENV.DELETE_DONT_EXIT_ON_NULL : (write_vu_count == 0);
|
||||||
if (registry_enabled && delete_age) {
|
if (registry_enabled && delete_age) {
|
||||||
obj_to_delete_exit_on_null = write_vu_count != 0;//write_vu_count == 0;
|
|
||||||
console.log(`obj_to_delete_exit_on_null: ${obj_to_delete_exit_on_null}`);
|
console.log(`obj_to_delete_exit_on_null: ${obj_to_delete_exit_on_null}`);
|
||||||
|
|
||||||
let constructor = obj_to_delete_exit_on_null ? registry.getOneshotSelector
|
let constructor = obj_to_delete_exit_on_null ? registry.getOneshotSelector
|
||||||
|
|
Loading…
Reference in New Issue