aboutsummaryrefslogtreecommitdiff
path: root/test/validation/api/scheduler
diff options
context:
space:
mode:
authorMatias Elo <matias.elo@nokia.com>2019-05-08 17:45:20 +0300
committerMatias Elo <matias.elo@nokia.com>2019-05-14 16:01:43 +0300
commit25c741e1ad3c2a859681e5617f2c7405967b09ef (patch)
treea66213c919c0fdd4084f1305d8b0d8d2f9968c8c /test/validation/api/scheduler
parentda0a56727cc2bc33c7effd54244649c45fd68653 (diff)
validation: scheduler: add missing clean-up to scheduler_test_ordered_lock
Signed-off-by: Matias Elo <matias.elo@nokia.com> Reviewed-by: Petri Savolainen <petri.savolainen@nokia.com> Reviewed-by: Stanislaw Kardach <skardach@marvell.com>
Diffstat (limited to 'test/validation/api/scheduler')
-rw-r--r--test/validation/api/scheduler/scheduler.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/validation/api/scheduler/scheduler.c b/test/validation/api/scheduler/scheduler.c
index 045e7ba9c..84e0078e6 100644
--- a/test/validation/api/scheduler/scheduler.c
+++ b/test/validation/api/scheduler/scheduler.c
@@ -1771,6 +1771,7 @@ static void scheduler_test_ordered_lock(void)
if (lock_count < 2) {
printf(" ONLY ONE ORDERED LOCK. Unlock_lock not tested.\n");
+ CU_ASSERT(drain_queues() == BUFS_PER_QUEUE / 2);
return;
}