From 925fe3ec8370d11c2823e186aabe52c200284080 Mon Sep 17 00:00:00 2001 From: Evgenii Stratonikov Date: Tue, 23 May 2023 15:57:43 +0300 Subject: [PATCH] [#66] scenarios: Exit if there is nothing to verify Signed-off-by: Evgenii Stratonikov --- scenarios/verify.js | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/scenarios/verify.js b/scenarios/verify.js index b2341f2..07a034a 100644 --- a/scenarios/verify.js +++ b/scenarios/verify.js @@ -98,6 +98,11 @@ export function handleSummary(data) { } export function obj_verify() { + if (obj_to_verify_count == 0) { + log.info("Nothing to verify"); + return; + } + if (__ENV.SLEEP) { sleep(__ENV.SLEEP); }