[#66] scenarios: Exit if there is nothing to verify

Signed-off-by: Evgenii Stratonikov <e.stratonikov@yadro.com>
This commit is contained in:
Evgenii Stratonikov 2023-05-23 15:57:43 +03:00
parent 4aa9a359b5
commit 925fe3ec83

View file

@ -98,6 +98,11 @@ export function handleSummary(data) {
} }
export function obj_verify() { export function obj_verify() {
if (obj_to_verify_count == 0) {
log.info("Nothing to verify");
return;
}
if (__ENV.SLEEP) { if (__ENV.SLEEP) {
sleep(__ENV.SLEEP); sleep(__ENV.SLEEP);
} }