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

Signed-off-by: Evgenii Stratonikov <e.stratonikov@yadro.com>
lorem-ipsum
Evgenii Stratonikov 2023-05-23 15:57:43 +03:00
parent 4aa9a359b5
commit 925fe3ec83
1 changed files with 5 additions and 0 deletions

View File

@ -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);
}