In the scalable scheduler, queue is implemented by the ring buffer. It is possible enqueue would fail if the ring buffer is full. So just remove the assert() check.
Signed-off-by: Kevin Wang <[email protected]> --- test/common_plat/validation/api/scheduler/scheduler.c | 1 - 1 file changed, 1 deletion(-) diff --git a/test/common_plat/validation/api/scheduler/scheduler.c b/test/common_plat/validation/api/scheduler/scheduler.c index 952561c..e7623b7 100644 --- a/test/common_plat/validation/api/scheduler/scheduler.c +++ b/test/common_plat/validation/api/scheduler/scheduler.c @@ -959,7 +959,6 @@ static void fill_queues(thread_args_t *args) } ret = odp_queue_enq(queue, ev); - CU_ASSERT_FATAL(ret == 0); if (ret) odp_buffer_free(buf); -- 2.7.4
