forked from TrueCloudLab/xk6-frostfs
[#66] scenarios: Exit if there is nothing to verify
Signed-off-by: Evgenii Stratonikov <e.stratonikov@yadro.com>
This commit is contained in:
parent
4aa9a359b5
commit
925fe3ec83
1 changed files with 5 additions and 0 deletions
|
@ -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);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue