From dc8a9b196f7d8c6bf3efc7a805354b28b4ba8b94 Mon Sep 17 00:00:00 2001 From: "m.malygina" Date: Wed, 5 Jun 2024 14:28:37 +0300 Subject: [PATCH] Added delete object after read Signed-off-by: m.malygina --- scenarios/s3.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/scenarios/s3.js b/scenarios/s3.js index 1853506..bfd7ea8 100644 --- a/scenarios/s3.js +++ b/scenarios/s3.js @@ -223,6 +223,9 @@ export function delete_object(obj) { log.withFields({bucket : obj.s3_bucket, key : obj.s3_key, op : 'DELETE'}) .error(resp.error); return; + } else { + log.withFields({bucket : obj.s3_bucket, key : obj.s3_key}) + .error(resp.success); } obj_registry.deleteObject(obj.id);