From 5c26b4bad4c834b37f227d6b2eb55b0bec117517 Mon Sep 17 00:00:00 2001 From: Evgenii Stratonikov Date: Thu, 18 May 2023 09:42:35 +0300 Subject: [PATCH] [#61] scenarios: Fix `setObjectStatus` parameters We were providing new status instead of old and expected it to exist in DB. Signed-off-by: Evgenii Stratonikov --- scenarios/verify.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scenarios/verify.js b/scenarios/verify.js index a65f265..2e2c6bc 100644 --- a/scenarios/verify.js +++ b/scenarios/verify.js @@ -105,7 +105,7 @@ export function obj_verify() { const obj_status = verify_object_with_retries(obj, 3); obj_counters[obj_status].add(1); - obj_registry.setObjectStatus(obj.id, obj_status); + obj_registry.setObjectStatus(obj.id, obj.status, obj_status); } function verify_object_with_retries(obj, attempts) {